Skip to content

fix: bound resumed upload batches (#1644) - #1693

Merged
neuromechanist merged 1 commit into
feature/issue-1671-epic-bru-upload-fixesfrom
patch/issue-1644-resume-batch-sizes
Oct 9, 2026
Merged

neuromechanist merged 1 commit into
feature/issue-1671-epic-bru-upload-fixesfrom
patch/issue-1644-resume-batch-sizes

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Pending S3 copy paths come from the git-annex location log, while the earlier batch-size map came only from this run's addTargets. A resumed path already annexed in an earlier run could therefore have an unknown size and evade the intended byte bound.

The copy planner now receives sizes from the full current data-file inventory, and isolates any path whose size is still unknown. Recorded-file checks keep the addTargets-only size map, preserving ADR 0094's rule that paths outside the current upload plan are checked one at a time.

This is a follow-up to #1644 within epic #1671. It does not close #1644; the owner-selected sandboxCommand/live-S3 acceptance gap and source PR #1648 close wording remain recorded in the phase worktree.

Validation

  • bun run lint
  • bun run typecheck
  • Five focused upload test files: 104 passed, 1 skipped (credentialed STS integration; test credentials are unavailable), 0 failed; 531 expectations.
  • The new resume-size regression is documented in test_requirements.md but has no automated test: the available upload data is generated or stand-in data, and .rules/testing.md prohibits using it as real-data evidence.
  • The credentialed STS integration was skipped locally because test/.env.test credentials are unavailable; it would not establish live AWS expiry timing or SigV4 acceptance.
  • No owner-selected sandboxCommand or live-S3 acceptance was run.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1693

Version: 0.10.16-PR1693.26f99a0
Commit: 26f99a0


🤖 Updated on each push.

@neuromechanist
neuromechanist force-pushed the patch/issue-1644-resume-batch-sizes branch from df1323c to 26f99a0 Compare October 9, 2026 15:53
@neuromechanist
neuromechanist merged commit 7a6a512 into feature/issue-1671-epic-bru-upload-fixes Oct 9, 2026
26 of 27 checks passed
@neuromechanist
neuromechanist deleted the patch/issue-1644-resume-batch-sizes branch October 9, 2026 16:41

This branch was previously deployed

1 inactive deployment
npm — 26f99a0a Deployed Oct 9, 2026 by neuromechanist via publish #3306
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