Repository navigation
Stream C: summary.json route + 5-dataset backfill (#558) - #561
Merged
neuromechanist merged 12 commits intoMay 19, 2026
Merged
neuromechanist merged 12 commits into
neuromechanist merged 12 commits into
Conversation
Contributor
Author
Review findings (epic leader)Three reviewers ran (code-reviewer, pr-test-analyzer, silent-failure-hunter). Summary: Critical (block merge)
Important
Test gaps
Strengths
Fix agent spawning shortly. |
4 of 5 tasks
neuromechanist
marked this pull request as ready for review
May 19, 2026 03:54
Contributor
Author
Review findings — resolution statusAll findings addressed. No skips. Commits in order on top of 4b3f2d9: Critical
Important
Test additions
Verification
|
neuromechanist
merged commit May 19, 2026
2141c7d
into
feature/issue-559-epic-central-manifest
1 check failed
This was referenced May 19, 2026
This branch had an error being 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
PR-1 Stream C of epic #559 — adds the consumer endpoint for the new
summary.jsonartifact emitted by Stream A.loadSummary()helper mirroringloadManifest()(readsv<X.Y.Z>-summary.jsonfrom S3, 404→null, 403→null+log, other→throw)GET /:datasetId/:version/summary.jsonroute — static passthrough,Cache-Control: public, max-age=300, s-maxage=86400, stale-while-revalidate=86400(no per-request mutation; no presigned URL injection)scripts/backfill-summaries.sh— dispatcher for the 5 recovered datasets (nm000103,nm000106,nm000166,on004362,on005261); supports--dry-run, 30s wait between dispatches, idempotent re-runsdocs/operations/manifest-summary-backfill.mdDOIs and versions for the backfill list were sourced from the public
/datasets/<id>API (the worktree's Cloudflare token can't query D1 directly).Test plan
bun test test/data-summary-route.test.ts→ 3/3 pass (route registration, 404 visibility gate, static-passthrough source check)bash scripts/backfill-summaries.sh --dry-runprints all 5gh workflow runcommandsbun run typecheckclean (root + backend)curl https://data.nemar.org/<id>/<v>/summary.json | jq .totalsreturns 200 with shapeCompanion: nemarOrg/website#29
Closes part of #558.