Repository navigation
Phase: batch-feed local annex add paths - #1688
Merged
neuromechanist merged 3 commits intoOct 9, 2026
Merged
neuromechanist merged 3 commits into
neuromechanist merged 3 commits into
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1688Version: 🤖 Updated on each push. |
Contributor
Author
Independent review findings and resolutionsThree independent review lenses covered batch semantics, the upload/import pipeline contracts, and test quality.
No actionable findings remain from the final reviews. The real NFS worker-count benchmark and #1455 inactivity diagnostic remain open; this phase makes no claim that a particular |
neuromechanist
merged commit Oct 9, 2026
8d18f07
into
feature/issue-1671-epic-bru-upload-fixes
14 checks passed
This was referenced Oct 9, 2026
This branch was previously deployed
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.
Change
This phase adapts the list-input portion of Bru's PR #1649 onto the current epic head. Bounded path chunks now go to
git annex add --batch -zover stdin. Per-file JSON results are checked, and paths without a response are inspected for absence so a missing file cannot silently report success. Only unanswered paths are statted, and non-ENOENT filesystem errors remain visible. The whole-tree string form retains its existing argv path.The current
trackDataFileswrapper, ADR 0031 case-variant forcing,forceLarge, importbackend: SHA256E, default.gitignorebehavior, and import-onlycheckGitignore: falsebehavior are preserved. Unchanged indexed blobs are filtered before batch mode so ADR 0060 blocked-upload recovery still requires an explicit unstage before retry. A missing input can be discovered after valid siblings from the same batch were annexed; those completed paths remain resumable while the call fails.Scope and impact
dataset upload -jcontinues to control S3 copies.-J4default or add--annex-jobs. Choose local worker behavior after a controlled argv-vs-batch × J1/J4/J8 benchmark. The single reported ~14% Ceph run is not enough evidence for a default.Part of #1455 and epic #1671.
Verification
bun test test/annex-add-batch.unit.test.ts test/annex-policy.test.ts test/upload-track-data.unit.test.ts test/git-annex-export-surface.unit.test.ts test/upload-s3-copy-step.unit.test.ts— 105 pass, 0 fail; real git-annex and filesystem remotesbun test --test-name-pattern 'the new key is SHA256E even when the tree\x27s attributes now name another backend' test/import-scrub.test.ts— 1 passbun run typecheckbun run lintgit diff --checkIndependent review
The three independent review lenses covered batch semantics, pipeline contracts, and test quality. They found and resolved unanswered paths being mistaken for success, all
lstaterrors being mislabeled as missing, per-target NFS preflight costs, unbounded index-output concerns, missing real-git-annex byte and response-path coverage, and test helpers masking command failures. The final review found no remaining actionable findings; the findings and resolutions are recorded in the PR review comment.