Repository navigation
Closed
3 / 33 of 3 issues completedClosed
3 / 33 of 3 issues completed
Copy link
Description
Goal
Cut cold dataset-detail latency by (a) embedding README content in summary.json so the website stops roundtripping GitHub, and (b) adding a backend page-bundle endpoint so the website's cold-load waterfall collapses to one RTT.
Scope
Bundles two filed issues + a backfill phase:
- Extend summary.json schema: embed README content (schema_version 1.1) #616 — generator schema 1.1 (embed
readme.content) + backfill every dataset - Backend page-bundle endpoint: collapse dataset-page waterfall to one RTT #617 — backend page-bundle endpoint
Companion work in flight
Website-side (separate agent):
- Eliminate per-pageload GitHub roundtrip for README website#63 — consume inline
readme.content - Progressive BIDS tree: render skeleton sync, lazy-load subject contents website#64 — progressive BIDS tree
- Edge-cache invalidation strategy for poisoned partials website#65 — edge-cache invalidation
These can deploy in any order. Schema 1.1 is additive; old consumers ignore the new field; new consumers fall back to GitHub when readme.content is absent.
Three phases
| # | Branch | Repo | Sub-issue |
|---|---|---|---|
| 1 | feature/issue-NNN-schema-11-generator |
nemarDatasets/.github | TBD (phase 1 ticket) |
| 2 | feature/issue-NNN-schema-11-backfill |
nemarOrg/nemar-cli | TBD (phase 2 ticket) |
| 3 | feature/issue-NNN-page-bundle |
nemarOrg/nemar-cli | TBD (phase 3 ticket) |
Phases land into feature/issue-EPIC-epic-summary-11 (this epic branch), then a single epic→dev PR.
Acceptance
- Every new publish writes summary.json
schema_version: "1.1"withreadme.contentpopulated (ortruncated: truefor over-cap / annexed). - All currently-published versions across
on*andnm*are at schema 1.1 (backfilled). - Periodic verification (workflow + CLI command) reports any drift.
-
GET /<id>/page-bundle.json?v=<v>returns landing+metadata+summary+catalog (+optional qa) in one response, < 600 ms cold. - Website consumes the bundle (separate PR, owned by website agent).
-
/review-prclean on every phase + on epic.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 3 sub-issues
Activity
feat(admin): summary.json coverage report + backfill dispatch
Phase 2: summary.json coverage report + backfill dispatch (#623)
Phase 3: page-bundle endpoint for one-RTT dataset detail SSR (#624)
neuromechanist commentedon May 27, 2026
Closing the epic — both sub-issues verified live:
readme.content.GET /<id>/page-bundle.jsonlive onapi.nemar.org, documented indocs/reference/data-api.md, cache contract verified end-to-end.Shipped across two releases: v0.8.35 (epic merge) and v0.8.36 (hotfix: coverage probe direct-S3, surfaced on first post-deploy smoke).
Handed off to the website team — companion nemarOrg/website#63 / #64 / #65 can ship as soon as they're ready; the backend contract is stable and the data is in place.
Open follow-ups (all P2/P3, none block website rollout): #626 (dispatch-no-workflow detection), #627 (per-request backfill signal), #629 (webhook env-fallback unit test), #631 (corrupt-summary distinct kind), #632 (error_kind discriminator), #633 (shared s3OptionsFromEnv + AbortSignal in loadSummary).