Containerfile: no rebar.lock, so the image resolves Erlang deps apart from what CI tested #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Purpose (product): the mcl-graph image ships the Erlang dependency versions CI tested, not whatever rebar3 resolves on the day of the build.
Found in the review of macula-io/macula-ci-images#19 step 1b (mcl-graph PR 2), 2026-11-23, by Jupiter. Pre-existing on main
021a6311, NOT introduced by PR 2, so it is filed here rather than folded in.Instance:
rebar.lockis committed. The Containerfile resolves deps fromrebar.configalone (COPY rebar.config ./thenRUN rebar3 get-deps), and CI resolves them separately, so nothing proves the image carries the transitive versions eunit/dialyzer ran against.native/build-nif.shrunscargo build --release --lockedagainst the committednative/mcl_graph_nif/Cargo.lock.cmpagainst the tested lock, no signer-lock stage); realm and mcl-mail consume a tested lock.Done when:
rebar.lockis committed; the Containerfile copies it and fails ifrebar3 get-depschanges it (cmpagainst the committed copy); CI checks the same lock. A check that fails by name when the lock is missing or drifts.Refs macula-io/macula-ci-images#19
Log read (admin route, Supervisor): PR 12 tip
e8543926, task 7786 (run 65, check) and 7794 (run 66, check), both failed.Purpose met: the image ships the dependency versions CI tested
Landed
e2bc2f73(--no-ff of PR 12; fold tip6d394616, Uranus PASS r=2). The ContainerfileCOPYsrebar.configandrebar.lockwith no glob, runsrebar3 get-depsandcmps the lock afterwards, refusing any rewrite; asigner-lockstage exports the same bytes for the signer to hold against theDthe release tag names.End to end, on the first push to main after the landing:
hand-lockran inbuild-pushrun 70 (success, task 02:21:56Z → 02:21:59Z) and filedas asset 1 on the
tested-lockspre-release (id 1901) — the commit CI tested, the digest the check job printed, and the byte count of the resolve the tests ended on. That is the job this issue needed: before the fold it would have gone down with theattestjob, which this forge fails at expansion (build-and-pushis GitHub-only and skipped there); the fold deletedattest(the macula-portal#9 pattern) and the one eunit test that read it.Proofs on the tree: the release-files test is red first on the unfixed tree and green on the tip; no lock in the context fails the COPY by name; a drifted lock fails
cmpat byte 256, line 7; a full builder build succeeded on a generated lock in 1232 s withsha256 db5ab4f2…, the same digest the forge now holds.Left for the release, not for this issue: the GitHub build is retired (its
COPYof a lock no checkout has would fail) and nothing fetches a lock for it.