Repository navigation
Upload: renew credentials during recorded-file checks - #1691
Merged
neuromechanist merged 1 commit intoOct 9, 2026
Merged
neuromechanist merged 1 commit into
neuromechanist merged 1 commit into
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1691Version: 🤖 Updated on each push. |
neuromechanist
merged commit Oct 9, 2026
a35cd18
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.
What changes
The upload already renews its STS lease while copying pending files, but the mandatory post-copy verification of previously recorded objects still used one lease. This change carries the same renewable session through content-bearing copy checks and no-local-content
fsckchecks. It proactively renews before bounded check chunks, retries only a failed chunk after explicit expiry or a failure that returns after the known lease expires, isolates recorded paths with unknown sizes, and counts unique sends across retry attempts. The location log remains the durable authority for progress and final confirmation.Retry progress resets the chunk's fruitless-expiry counter only when git-annex reports a newly transferred path; the shared overall renewal cap remains in force. Uncertain git-annex output keeps the resend count unrecognized.
Validation
bun run typecheck— passed.bun run lint— passed.test_requirements.mdrecords the missing coverage.The owner-selected live-S3 expiry and
sandboxCommandacceptance gap remains documented and unrun. The dev API integration test was skipped locally becausetest/.env.testand dev API credentials are absent.Refs #1644 and #1671.