fix: reduce retries for ERRCONNABORTED error when uploading attachments#222
Merged
Conversation
radovanjorgic
approved these changes
Jul 16, 2026
radovanjorgic
added a commit
that referenced
this pull request
Jul 21, 2026
…ONNABORTED retry cap (#222) v2 branched from main at 9a16ab2 and its "merge main" commit was a no-op, so two fixes that landed on main afterward were never brought over: - #210 (b9cef1f): worker_metadata state dates + per-item-type created/modified date ranges on data/attachment done+progress emits, and Artifact date fields. Re-applied onto the refactored files: state dates live in emit.ts (was control-protocol.ts); the item-type/date-range stats move to a new buildWorkerMetadata() template hook on ExtractionAdapter (was inline in worker-adapter.emit); repo.ts tracks dateRanges; uploader spreads computeArtifactDateRanges into the artifact. - #222 (c1adc61): disable axios-retry on guessed Content-Length uploads to stop the ECONNABORTED retry storm. Restores byte-for-byte wire parity with v1 and the documented HTTP retry behavior. Ported the accompanying tests that map onto surviving v2 files (repo.helpers, computeArtifactDateRanges, streamArtifact retry). 442 tests pass.
radovanjorgic
added a commit
that referenced
this pull request
Jul 21, 2026
Add the fully-autonomous v1->v2 (@devrev/ts-adaas -> @devrev/airsync-sdk) connector migration skill under skills/migrate-v2/ (SKILL.md + transform catalog + symbol map), covering all 16 breaking-change categories and validated against the 5 reference connectors. Add V2_MIGRATION_NOTES.md recording the regression audit, the #210/#222 forward-port, known MIGRATION.md inaccuracies, and the open legacy event-type routing item to confirm before GA.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Connected Issues
Checklist
npm run testOR no tests needed.npm run test:backwards-compatibility.npm run lint.