The bases move to public ghcr, and the cutover script keeps no owner path #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ceres/24-ghcr-bases"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
host00's image signer builds this repository's
Containerfile, and it refuses agit.macula.io/base that does notcosign verifywith its key(
edge/host00.lab/image-signer/signer-lib.sh,sl_check_froms). macula-ci-images'build does not sign the images it publishes, so the pair this Containerfile named
on the forge registry could never pass there, and the first FROM would stop the
build.
ghcr.io/macula-io/macula-ci-otpandghcr.io/macula-io/macula-pq-runtimeare public, so the signer pulls them with no registry login — the way mcl-mail
names its pair.
What changes
The bases, by dated tag and digest (
df917ff). Same toolchain, published2026-11-04: OTP 28.4.3 on Debian trixie with ML-DSA, rebar3 3.27.0, Rust 1.98.1
(read from the images' own
io.macula.*labels). The tag names the publication,the digest is what builds.
lint.ymlruns in exactly that builder, so it dropsthe forge pull credential with the move; the pin guard now reads the dated tag and
holds both halves to one publication. The forge digests it pinned before are not
published on ghcr, so the pin moves to ghcr's newest publication.
The cutover script's work dir (
400a2b2).run_the_cutover.shdefaulted itsstate line, its logs and the export modules to
/home/rl/work/ci/rag-cutover.The state line and the logs are the run's own record and now go under
$XDG_STATE_HOME(or~/.local/state) inmcl-rag-cutover/.BEAMShas nodefault: it is an input compiled from the release commit, so
--checkreports itmissing and
--exportrefuses. No owner path is left in the script.Proof
The pin guard, run on this tree (it reproduces the test's regexes and
comparisons):
Four mutants, each killed: builder back on the forge registry;
lint.ymlwith adigest and no dated tag; the runtime half on another publication's tag; a
-rocksdbimage named again.Script, on host00:
XDG_STATE_HOME=<dir> bash cutover/run_the_cutover.sh --checkcreates
<dir>/mcl-rag-cutover/logsand printsFAIL BEAMS is unset: name the directory holding ...; withHOME=<dir>and noXDG_STATE_HOMEit uses<dir>/.local/state/mcl-rag-cutover;--export --a-side <ref>with noBEAMSrefuses before it touches the volume; with aBEAMSholding both beams the check passes.
bash -nclean,lint.ymlparses.lint.ymlon this tip is the CI that proves the pull and the toolchain step inthe new builder.
Purpose met: PR 8 landed on main as
f8f0d35518f5272fc1d07dde1cddb8df33098e7a(--no-ff onto314149ebdffba99b08eee9ba171afca163761eba, merge of400a2b231684909f4bfbf6dc89156bee24d56018), green r=1 — Uranus's PASS onbc6c746c..400a2b23,ci=forgejo:2993,2992, lint run 75 (checkand the tested lock) and c4-model run 74 both success on that exact tip.What main now carries, as the Purpose asked:
Containerfileandlint.ymlname the plain pair on public ghcr, by dated tag and digest:ghcr.io/macula-io/macula-ci-otp:20261120-1240@sha256:39da314646c418ab69778dd7135663d8e2099e3d46c0fcf1318f3cb83c58d978andghcr.io/macula-io/macula-pq-runtime:20261120-1240@sha256:06fe4ae600b545542e6d5451d2ae641e7d365444578bdf4b1c406c3dbcdb3a15. That publication is the 2026-11-04 build: OTP 28.4.3 on Debian trixie with ML-DSA, rebar3 3.27.0, Rust 1.98.1. Both resolve to an anonymous pull, which is what host00's signer needs;lint.yml's forge pull credential is gone with the move.mcl_rag_service_tests' pin guard reads the dated tag as well as the digest, and holds the builder, CI and runtime halves to one publication.cutover/run_the_cutover.shkeeps no owner path: the state line and its logs go under$XDG_STATE_HOME(or~/.local/state) inmcl-rag-cutover/, andBEAMShas no default —--checkreports it missing,--exportrefuses before it touches the volume.Measured on the tip:
OpenSSL 3.5.7,OTP 28.4.3, mldsa87 true, both NIFs built,All 233 tests passed(eunit) andAll 64 tests passed(ct),images_are_the_dated_and_digest_pinned_plain_pair_testamong them. The guard kills its four mutants: the builder back on the forge registry, a digest without a dated tag, the runtime half on another publication's tag, and a-rocksdbimage named again.What this unblocks: the rag fleet lines (release-targets on track 0.11, the image-signers line, the msi00 unit with its offline line) can be assembled into a later menu. The runtime half is never pulled by lint; the signer build is what proves it.
Push runs on main
f8f0d355(the landing): build-push run 79 success (hand-lock task 7640 success). c4-model run 80 success. lint.yml run 81:checktask 7574 CANCELLED after ~15 min (00:25:55 to 00:40:58Z). Reading task 7574 log for the cause.