Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 16 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,17 +705,18 @@ only its tag, so existing builds' references keep working.
read: at `main` from `releases/<release>/<build>/`, or at the tag from
`releases/<id>/`.

**No release publishes with tags.** `microcosm-publish-release` (and
`tools/publish_release.sh`, a thin wrapper that passes every argument straight
through) refuses every release that publishes into build folders and any
repository that has `releases.json`, so it publishes no UK or US release.
The UK repository's switch moved the June 2023 build, which `latest.json`
named, into its own folder as the only and current build of release
`populace-uk-2023`; `microcosm.data.load("uk", 2023)` reads it there, and no
new builds publish to that release. `populace-uk-<year>-<tier>-k<N>` releases
have no publication path in the UK repository since its switch: the emitter
command takes only the releases above, and the tagged publisher refuses
a repository that has `releases.json`. A US annual-projection build publishes
**No release publishes with tags.** Every release that
`publishes_to_build_folder` names publishes each build into its own folder
with `microcosm-publish-release-build`, and no other release publishes. The
tagged publisher,
`microcosm-publish-release`, which committed, tagged and wrote `latest*.json`
pointer files on the Hub directly, has been removed, with
`tools/publish_release.sh`. The UK repository's switch moved the June 2023
build, which `latest.json` named, into its own folder as the only and current
build of release `populace-uk-2023`; `microcosm.data.load("uk", 2023)` reads it
there, and no new builds publish to that release.
`populace-uk-<year>-<tier>-k<N>` releases have no publication path: the
emitter command takes only the releases above. A US annual-projection build publishes
into `microcosm-us-2024-annual`, carrying its base national build's files
([the annual guide](docs/us-annual-static-aging.md)); its base is a
calibrated national build, not yet a source enrichment. An annual projection
Expand Down Expand Up @@ -950,14 +951,10 @@ The US switch deleted every `latest*.json` file, so
`microcosm.data.latest_evidence_release`, which still reads
`latest-evidence.json`, finds no pointer in the US repository.

The tagged publisher posts a Slack alert when it moves `latest.json`, and only
when the channel's incoming-webhook URL is set (`SLACK_WEBHOOK_POPULACE_US`,
`SLACK_WEBHOOK_POPULACE_UK`), which `tools/publish_release.sh` loads from
`tools/release.env` and warns about when neither is set. It publishes no UK or
US release since the two repositories' switches, so no publication reads
either variable: the calibration diagnostics dashboard posts every UK and US
release alert from changes to `releases.json`. `tools/release.env` still
holds the UK release key below; create it once on the build machine:
No release command posts a Slack alert: `microcosm-publish-release-build`
sends none, and the calibration diagnostics dashboard posts release alerts
from changes to `releases.json`. `tools/release.env` holds the UK release key
below; create it once on the build machine:

```bash
cp tools/release.env.example tools/release.env # then fill in the values
Expand Down
1 change: 1 addition & 0 deletions changelog.d/remove-tagged-publisher.removed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove the tagged publisher, `microcosm-publish-release` (`microcosm.data.publish_cli` and `tools/publish_release.sh`), which committed a release's files to Hugging Face directly, tagged them and wrote a `latest*.json` pointer file. It refused every repository that records its builds in `releases.json`, which the US, UK and BE release repositories all do, so release builds now publish only into their own folders, through the emitter with `microcosm-publish-release-build`. `publish_release`, `prepare_release` and `PreparedRelease` leave `microcosm.data.release`, `microcosm.data` no longer exports `publish_release`, and `microcosm.data.slack`, whose only caller was `publish_release`, is gone with the Slack webhook settings in `tools/release.env.example`. `publication_refusal`, which `microcosm-publish-release-build` runs, moves to `microcosm.data.release`. No command publishes a release that `publishes_to_build_folder` does not name (#1796).
28 changes: 14 additions & 14 deletions docs/agent-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,12 @@ package stage prints both commands itself.
need no calibration on the base before a build, and again with the finished
build's `--release-manifest`. The emitter changes
no current build while any `latest*.json` pointer file exists; the UK and US
repositories' switches to `releases.json` deleted them. The tagged publisher
(`tools/publish_release.sh` → `microcosm-publish-release`) refuses every one of
these releases and any repository that has `releases.json`, so no UK or US
release publishes with tags. The UK repository's switch moved the June 2023 UK
build into release `populace-uk-2023`, which takes no new builds, and
`populace-uk-<year>-<tier>-k<N>` releases have no publication path there. This
holds for the US from its repository's switch commit; Microcosm's US change
(microcosm#1570) merges straight after it. Tests hand release changes to the
repositories' switches to `releases.json` deleted them. No release publishes
with tags: the tagged publisher (`microcosm-publish-release`) has been
removed, and `microcosm-publish-release-build` takes only the releases that
`publishes_to_build_folder` names. The UK repository's switch moved the June
2023 UK build into release `populace-uk-2023`, which takes no new builds, and
`populace-uk-<year>-<tier>-k<N>` releases have no publication path. Tests hand release changes to the
in-memory client (`client.release_requests`), which applies them to
`hub_files` with the interface's shared `releases.json` checks. See README
"Releasing & alerts". Before launching a US
Expand Down Expand Up @@ -633,12 +631,14 @@ and writes local annual H5 files without running the base graph or publishing.
See [the annual candidate guide](us-annual-static-aging.md). Its completion
manifest is build evidence, not release certification.
Optional annual release metadata invokes additional artifact, identity, and
acceptance checks alongside the normal release checks. Annual builds pin every file
to one `<base_release>-annual-<YYYYMMDDTHHMMSSZ>-<hex8>` tag, and a build folder
pins no revision, so an annual build has no publication path in the US
repository since its switch to `releases.json`: the tagged publisher refuses
that repository. Qualify source-enrichment bases before adding annual metadata,
in the candidate guide's qualification order.
acceptance checks alongside the normal release checks. An annual build of the
tagged layout pins every file to one
`<base_release>-annual-<YYYYMMDDTHHMMSSZ>-<hex8>` tag, so it has no publication
path: a build folder pins no revision, and the tagged publisher, which took
such builds, has been removed. A new annual build is a build of
`microcosm-us-2024-annual` in its own folder, pins no revision and publishes
with `microcosm-publish-release-build`. Qualify source-enrichment bases before
adding annual metadata, in the candidate guide's qualification order.

## Concept schema and engine mappings

Expand Down
Loading
Loading