Repository navigation
Phase 2: Serve chunked annex objects - #1695
Merged
neuromechanist merged 2 commits intoOct 9, 2026
Merged
neuromechanist merged 2 commits into
neuromechanist merged 2 commits into
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1695Version: 🤖 Updated on each push. |
neuromechanist
merged commit Oct 9, 2026
6e3cef1
into
feature/issue-1671-epic-bru-upload-fixes
18 checks passed
This was referenced Oct 9, 2026
Merged
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.
Summary
This is the serving half of #1565 and phase 2 of epic #1671. Manifest
urlnow equals the stable per-filebytes_url, so plain and chunked objects use the same public route and the cached manifest stays independent of current S3 layout. ADR 0095 supersedes ADR 0074.The data plane checks visibility, published version, and manifest path before storage access. It verifies plain object size, falls back to bounded complete-chunk discovery only on a definitive plain-object 404, streams chunks sequentially, maps byte ranges onto chunk boundaries, and fails closed on incomplete or uncertain storage. The identifier-fleet scanner, scrub runbook, docs, website copy, and Neurobagel request budget are updated.
Validation
bun run typecheck,bun run lint, changed-file Biome check, andgit diff --check: passed.bun testrun was interrupted before its summary; the focused suites above completed.Acceptance gap
Real chunk-byte acceptance remains open until an isolated non-synthetic chunked S3 sample verifies full-body checksum, ranges within and across chunks, the final short chunk, unsatisfiable ranges, and missing or short chunks. No live S3 or
nm000276was accessed. Keep issue #1565 open for this acceptance.Coordination
Companion compatibility/documentation PRs are open: EEGDash #3, website #437, and docs #66. This phase PR targets epic branch
feature/issue-1671-epic-bru-upload-fixes.