Skip to content

Phase 2: Serve chunked annex objects - #1695

Merged
neuromechanist merged 2 commits into
feature/issue-1671-epic-bru-upload-fixesfrom
feature/issue-1565-chunk-serving
Oct 9, 2026
Merged

neuromechanist merged 2 commits into
feature/issue-1671-epic-bru-upload-fixesfrom
feature/issue-1565-chunk-serving

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

This is the serving half of #1565 and phase 2 of epic #1671. Manifest url now equals the stable per-file bytes_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

  • Focused CLI suites: 452 passed, 0 failed.
  • bun run typecheck, bun run lint, changed-file Biome check, and git diff --check: passed.
  • Independent contract review: no actionable findings; test review found no blockers.
  • The full bun test run 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 nm000276 was 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.

@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@PR1695

Version: 0.10.16-PR1695.d9a7ed3
Commit: d9a7ed3


🤖 Updated on each push.

This branch was previously deployed

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