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: backfill all summaries to schema 1.1 + drift verification #620
Blocked by Phase 1 (#TBD). Backfill is only meaningful after the generator change ships.
Scope
Backfill (one-shot)
Script: scripts/backfill-summaries.ts (Bun) that:
Reads all rows from dataset_versions table (D1) where published_at IS NOT NULL.
For each (dataset_id, version), checks data.nemar.org/<id>/<v>/summary.json. Reads schema_version. If < 1.1 or missing, fires workflow_dispatch[generate-manifest] at nemarDatasets/.github with {dataset_id, version, skip_callback: true}.
Throttles: max 5 in-flight, sleep on 429.
Reports: list of dispatched + list of skipped (already 1.1) + list of failed.
Run modes:
--dry-run (default): list only, no dispatches.
--apply: actually dispatch.
--only on* / --only nm* / --id <id>: scope.
Drift verification (ongoing)
New CLI command: nemar admin summary check [--fix].
Without --fix: walks all published versions, prints any whose summary.json is missing or below schema 1.1.
With --fix: dispatches workflow_dispatch[generate-manifest] for stale ones.
Also: GitHub Actions cron .github/workflows/check-summary-drift.yml runs nemar admin summary check weekly and opens an issue if drift detected.
Activity
feat(admin): summary.json coverage report + backfill dispatch
Phase 2: summary.json coverage report + backfill dispatch (#623)