You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Phase 2: Record the upstream snapshot each version mirrors #1908
Scope: Record what we mirrored. Migration 0100 adds dataset_versions.source_version and source_version_basis (doi, lineage, unknown; NULL means never examined); the dataset level tag is derived from the highest semver version row and datasets stays at 84 columns. One shared parser sourceSnapshotOf(desc, sourceId) reads Version, then a DOI matching 10.18112/openneuro..v, then the URL, accepts only entries naming the dataset's own ds, and returns unknown on disagreement. Write the value when the version row is inserted. A resumable backfill route plus nemar admin upstream-backfill reads v/dataset_description.json through the authenticated raw CDN and records unknown rather than guessing.
Definition of done: Backfill run on production with counts per basis posted on #1046; tests: source-snapshot unit test, migration test on real SQLite, column budget test still pinned at 84.
Binding design: ADR 0006 (a re-pull is a major version) and the ADR 0111 written in Phase 1; the design record is the epic body.
changed the title [-]Phase 2: ADR 0111: an upstream re-pull is a reviewed delta on a release branch[/-][+]Phase 2: Record the upstream snapshot each version mirrors[/+]on Oct 24, 2026
Activity
neuromechanist commentedon Oct 24, 2026
Merged to the epic branch in #1920.
[-]Phase 2: ADR 0111: an upstream re-pull is a reviewed delta on a release branch[/-][+]Phase 2: Record the upstream snapshot each version mirrors[/+]