Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle sync abort, reduce duplicate
STATE
messages, rename `_M…
…AX_RECORD_LIMIT` as `ABORT_AT_RECORD_COUNT` (#1436) * set max_records_limit during tap testing * make default max_records_limit None. * unblock ci * apply suite_config to runners * syntax * unused import * use partitioned stream state when checking max records * exclude testing from coverage * Update pyproject.toml * feat: add exception classes added: RequestedAbortException, MaxRecordsLimitException, AbortedSyncExceptionBase, AbortedSyncFailedException, AbortedSyncPausedException * chore: add helper fn `is_state_non_resumable()` * feat: handle abort exceptions * fix: add missing kw `metaclass=` * chore: cleanup _abort_sync() method * fix: new_tap() and new_target() refs * fix: remove pyarrow workaround for python 3.11, poetry lock * chore: update jsonl recordings * chore: remove pyarrow from extras * revert: pyarrow changes * chore: no need to skip extra state message * fix: batch messages should reset state flush status * chore: remove dupes from expected state counter * trigger drain on new record rather than state message * lint * use max_records_limit in test SuiteConfig * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tidy up merge --------- Co-authored-by: Ken Payne <ken@meltano.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information