Skip to content

fix: retain upload retry send counts - #1699

Merged
neuromechanist merged 1 commit into
feature/issue-1671-epic-bru-upload-fixesfrom
patch/issue-1644-retry-copy-count
Oct 9, 2026
Merged

neuromechanist merged 1 commit into
feature/issue-1671-epic-bru-upload-fixesfrom
patch/issue-1644-retry-copy-count

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Follow-up to #1644 within epic #1671. The copy summary could lose a positively reported transfer when git-annex output arrived before the location log caught up; the per-attempt clamp discarded that send record. The copy loop now accumulates unique CopyOutcome.sentPaths for reporting while the location log continues to determine durable progress and retry decisions. test_requirements.md records the remaining real-S3 retry coverage gap; this PR adds no synthetic fixture or stub service.

Validation: bun test test/upload-s3-copy-step.unit.test.ts (41 passed, 0 failed; 200 expectations), bun run typecheck, bun run lint, and git diff --check passed.

Independent review found no runtime/API contract issue. The test review rejected the temporary helper-only local-directory test because it did not exercise production retry orchestration and used generated EDF bytes; that test was removed and the gap documented. The owner-selected live-S3 and sandboxCommand acceptance remains open and was not run.

This PR does not close #1644; the accepted live-S3 and sandboxCommand acceptance and the separate source PR #1648 close wording remain open.

@neuromechanist

Copy link
Copy Markdown
Contributor Author

Independent review record (2026-10-09): the contract reviewer found no actionable runtime or API issue, and the error reviewer confirmed that unique positive send records remain separate from location-log-confirmed progress. The test reviewer found that the temporary local-directory/helper test did not exercise copyPendingInBatches, could not catch a production regression, and used generated EDF bytes that violate .rules/testing.md. Resolution: removed that test and documented the real-S3 retry coverage gap in test_requirements.md.

Local validation passed: the upload regression suite (41 tests, 200 expectations), typecheck, lint, and git diff --check. The owner-selected real-S3 and sandboxCommand acceptance remains open and was not run.

@neuromechanist
neuromechanist merged commit ef12d3e into feature/issue-1671-epic-bru-upload-fixes Oct 9, 2026
14 checks passed
@neuromechanist
neuromechanist deleted the patch/issue-1644-retry-copy-count branch October 9, 2026 20:38

This branch was previously deployed

1 inactive deployment
npm — 4ddc755f Deployed Oct 9, 2026 by neuromechanist via publish #3325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant