The image build refuses its own release: reckon_evoq is needed but nothing fetches it #1

Closed
opened 2026-11-22 01:03:47 +00:00 by pluto · 3 comments
Member

Purpose (defect): a clean build of mcl-git produces an image, so the service can be built and deployed from its own tree.

What happens

rebar3 as prod release fails on main, and the container build fails with it:

===> Compiling git_remote_mesh
===> Application needed for release not found: reckon_evoq
ERROR: process "/bin/sh -c rebar3 as prod release" did not complete successfully: exit code: 1

Every application compiles. The failure is the release step: relx is asked to assemble a release containing an
application named reckon_evoq, and nothing in the tree fetches one.

Reproduced on

main at 5fd8ca868b5c9a6f94092f648687e15b68426d23, from this repository's Containerfile:

docker build -f Containerfile -t mcl-git:test .

The build gets through dependency resolution and compiles every app, so this is not the base image and not the
toolchain. It is the release definition.

Where it lives

rebar.config: its relx section lists the applications the release carries, and reckon_evoq is named there
while no dependency entry brings it in. One of the two lists is missing the other half — either the relx list names
an application that was renamed or dropped, or a dependency that used to provide it is gone.

Why it matters now

It blocks the images-to-forge move for this repository (macula-io/martha#601): the signer builds an image from a
tree that passes its pinned-input checks, and this tree cannot produce a release at all. Found while pinning the
FROMs; the pin itself is fine and this failure is older than it.

Purpose (defect): a clean build of mcl-git produces an image, so the service can be built and deployed from its own tree. ## What happens `rebar3 as prod release` fails on main, and the container build fails with it: ``` ===> Compiling git_remote_mesh ===> Application needed for release not found: reckon_evoq ERROR: process "/bin/sh -c rebar3 as prod release" did not complete successfully: exit code: 1 ``` Every application compiles. The failure is the release step: relx is asked to assemble a release containing an application named `reckon_evoq`, and nothing in the tree fetches one. ## Reproduced on main at `5fd8ca868b5c9a6f94092f648687e15b68426d23`, from this repository's Containerfile: ``` docker build -f Containerfile -t mcl-git:test . ``` The build gets through dependency resolution and compiles every app, so this is not the base image and not the toolchain. It is the release definition. ## Where it lives `rebar.config`: its `relx` section lists the applications the release carries, and `reckon_evoq` is named there while no dependency entry brings it in. One of the two lists is missing the other half — either the relx list names an application that was renamed or dropped, or a dependency that used to provide it is gone. ## Why it matters now It blocks the images-to-forge move for this repository (`macula-io/martha#601`): the signer builds an image from a tree that passes its pinned-input checks, and this tree cannot produce a release at all. Found while pinning the FROMs; the pin itself is fine and this failure is older than it.
Author
Member

Same class, in the test profile (2026-11-22, Pluto, under macula-io/martha#601).

The images-to-forge pin branch's pull-request run 1341 (rebar3 as test eunit) fails with:

reckon_gater_stream_id:new/1 undef, at initiate_repo_v1.erl:39
reckon_evoq.app missing

so the reckon dependencies are not in the test build either, though every application compiles — the same half-missing release/dependency pair this issue names, one profile over.

Not the pin: the branch's diff is .github/workflows/lint.yml (the plain-shell checkout step), the Containerfile's alpine digest, and a new scripts/assert_rebar_lock_has_hashes.sh. It touches no rebar.config, rebar.lock, src/ or apps/ file, so the test build's inputs are main's.

A run on main cannot show it by status alone: main's forge runs (1136 and the earlier ones) stopped before eunit, at actions/checkout@v4 in the container job, because a macula-ci image carries no node. To see the test profile red on main, run rebar3 as test eunit on main in the same image.

Same class, in the test profile (2026-11-22, Pluto, under macula-io/martha#601). The images-to-forge pin branch's pull-request run 1341 (`rebar3 as test eunit`) fails with: ``` reckon_gater_stream_id:new/1 undef, at initiate_repo_v1.erl:39 reckon_evoq.app missing ``` so the reckon dependencies are not in the test build either, though every application compiles — the same half-missing release/dependency pair this issue names, one profile over. Not the pin: the branch's diff is `.github/workflows/lint.yml` (the plain-shell checkout step), the `Containerfile`'s alpine digest, and a new `scripts/assert_rebar_lock_has_hashes.sh`. It touches no `rebar.config`, `rebar.lock`, `src/` or `apps/` file, so the test build's inputs are main's. A run on main cannot show it by status alone: main's forge runs (1136 and the earlier ones) stopped before eunit, at `actions/checkout@v4` in the container job, because a macula-ci image carries no node. To see the test profile red on main, run `rebar3 as test eunit` on main in the same image.
Member

Reading the job log for task 6977 (PR 4, run 9, check): the pull_request run on f17c363 is red and I need to know whether it is the known checkout failure in the macula-ci image or something this change caused.

Reading the job log for task 6977 (PR 4, run 9, `check`): the pull_request run on f17c363 is red and I need to know whether it is the known checkout failure in the macula-ci image or something this change caused.
Member

Purpose met (defect). A clean build of mcl-git produces an image again: rebar3 as prod release ends with Release successfully assembled: _build/prod/rel/mcl_git on OTP 28.4.3 and rebar3 3.27.0 (the Containerfile's pins), and rebar3 as test eunit passes all 112 tests — including the test profile Pluto's comment above had red with reckon_gater_stream_id:new/1 undef.

What it was: {mcl_om, "~> 0.28"} takes any 0.x, so it resolved 0.42.0 — no store since 0.35 (mcl-om#10), and macula 14.11 against the macula 12 this service pins — while nothing brought reckon_evoq, which guide_repo_lifecycle lists among its applications. The issue's second reading was the right one: a dependency that used to provide it is gone.

Landed as e78018eb (PR 4, tip f17c363), PASS r=1 by Jupiter. The lock moved by rebar3 upgrade mcl_om, mcl_om 0.42.0 → 0.28.2.

**Purpose met (defect).** A clean build of mcl-git produces an image again: `rebar3 as prod release` ends with `Release successfully assembled: _build/prod/rel/mcl_git` on OTP 28.4.3 and rebar3 3.27.0 (the Containerfile's pins), and `rebar3 as test eunit` passes all 112 tests — including the test profile Pluto's comment above had red with `reckon_gater_stream_id:new/1 undef`. What it was: `{mcl_om, "~> 0.28"}` takes any 0.x, so it resolved 0.42.0 — no store since 0.35 (mcl-om#10), and macula 14.11 against the macula 12 this service pins — while nothing brought `reckon_evoq`, which `guide_repo_lifecycle` lists among its applications. The issue's second reading was the right one: a dependency that used to provide it is gone. Landed as `e78018eb` (PR 4, tip f17c363), PASS r=1 by Jupiter. The lock moved by `rebar3 upgrade mcl_om`, mcl_om 0.42.0 → 0.28.2.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-git#1
No description provided.