Repository navigation
Description
Since #1460, builds hand their staged dataset bundles to the separately installed microcosm-emitter. Release publication is still Microcosm's own: microcosm.data.release.publish_release commits each release to a staging branch, tags it, commits the release-folder copies and root files to main, and writes latest.json or a latest-<line>.json pointer file. Every UK build of a release overwrites releases/<release>/ on main, and its manifests name the release three ways (build_id, attempt_id, cut_tag).
Goal (collector hub plan, hand-over step H2c):
- Microcosm publishes each UK release build through the interface's
publish_releasecall. The emitter's release writer puts it in its own folder,releases/<release>/<build>/, and records it in the repository'sreleases.jsonin one commit. Microcosm no longer commits, tags or writes pointer files for UK releases. - Microcosm treats a build as current only when the emitter's receipt has
statuspublishedandcurrentequal to that build. - Release manifests carry
releaseandbuildas strings, each file'srole, andbuilt_at,built_with_model_packageandbuilt_with_core_packageat the top level. They keep theartifactsmap (kind,pathas a bare file name,repo_id,sha256), droprevision, and add aroleper file. The release contract checks this layout. - Each release's role in
releases.jsonisnationalorlocal_area, from the manifest'snational_defaultornon_default_local_area. Files keep the general rolesdatasetandcalibration_diagnostics. - Each new dense build becomes current when it is published; the national build is published first and made current after review.
- The
microcosm-dataloader finds each UK release's current build inreleases.json.
microcosm-emitter-interface 0.7.0, which Microcosm already uses, has publish_release, promote_build and receipts with current, and so does every emitter from 0.7.0; builds already require 0.11.9.
Pending: US releases keep tags and latest.json until the stable releases US builds publish under are agreed with the US data builder. The one-time move of the existing builds into folders and the microcosm-data release are separate changes. UK release alerts do not stop: until the UK repository's switch to releases.json, UK releases keep publishing and promoting through the tagged publisher and its pointer files, which sends their Slack alerts as today, and the switch waits until the dashboard announces changes to releases.json (#1505 was narrowed to this on 2026-11-04).
Activity