ci.yml gates: the job dies at step 0 — a JavaScript checkout in an image that carries no node #4

Open
opened 2026-11-24 03:09:19 +00:00 by ceres · 1 comment
Member

Purpose (fix): a pull request's gates job runs the suite and reports what it found, instead of failing in 2 s during job setup before any step of its own.

What happens

On every pull request the gates (OTP 28.4.3 / Elixir 1.18.4) job fails in 2-4 s while the rest of the run is green. Task 8163 on 41e2965 (2026-11-24) died in 2 s; Jupiter reports tasks 556 (f8c29dda) and 650 (6ae0d1e3) on 11-22 dying the same way in 3-4 s. The last green gates run is task 988 on 11-22 (80e4dfd0), which took 12 minutes.

Cause, from the image itself (no log needed)

  • The job's container: is ghcr.io/macula-io/macula-ci-pq:ex118-20261005-1119@sha256:f8b10b0c…. Inside it: command -v node → not found, command -v python3 → not found (only git and the Elixir toolchain).
  • Its first step is actions/checkout@v4, a JavaScript action. In a job container with no node it dies at exitcode 127 before the checkout, which is the macula-io/martha#601 defect this organisation already fixed everywhere else.
  • The image is not the problem otherwise: it is publicly pullable (podman pull with an empty authfile on host00 succeeded, digest f8b10b0c…), and the runner's own docker daemon already holds it, so it is not a pull or credentials failure.

Why it is not dialyzer or memory

It dies before the first step. Neither the cache step nor dialyzer has run.

What to do

Either give the job the plain-shell checkout the rest of the organisation uses in container jobs (.github/workflows/ci-images-dependency-advisories.yml in this repository already carries the byte-identical one, from ci-images d42d37e6), or run the job in an image that carries node. The advisories job took the plain-shell path in the same run and its scan ran green (task 8168).

Not fixed in that pull request: it is a separate job, it fails the same way without the change, and it needs its own review.

Refs macula-io/macula-ci-images#22, macula-io/martha#601. Found by Ceres in the same runs where the advisory scan was ported.

Purpose (fix): a pull request's `gates` job runs the suite and reports what it found, instead of failing in 2 s during job setup before any step of its own. ## What happens On every pull request the `gates (OTP 28.4.3 / Elixir 1.18.4)` job fails in 2-4 s while the rest of the run is green. Task 8163 on 41e2965 (2026-11-24) died in 2 s; Jupiter reports tasks 556 (f8c29dda) and 650 (6ae0d1e3) on 11-22 dying the same way in 3-4 s. The last green gates run is task 988 on 11-22 (80e4dfd0), which took 12 minutes. ## Cause, from the image itself (no log needed) - The job's `container:` is `ghcr.io/macula-io/macula-ci-pq:ex118-20261005-1119@sha256:f8b10b0c…`. Inside it: `command -v node` → **not found**, `command -v python3` → not found (only `git` and the Elixir toolchain). - Its first step is `actions/checkout@v4`, a JavaScript action. In a job container with no node it dies at exitcode 127 before the checkout, which is the macula-io/martha#601 defect this organisation already fixed everywhere else. - The image is not the problem otherwise: it is publicly pullable (`podman pull` with an empty authfile on host00 succeeded, digest f8b10b0c…), and the runner's own docker daemon already holds it, so it is not a pull or credentials failure. ## Why it is not dialyzer or memory It dies before the first step. Neither the cache step nor dialyzer has run. ## What to do Either give the job the plain-shell checkout the rest of the organisation uses in container jobs (`.github/workflows/ci-images-dependency-advisories.yml` in this repository already carries the byte-identical one, from ci-images d42d37e6), or run the job in an image that carries node. The advisories job took the plain-shell path in the same run and its scan ran green (task 8168). Not fixed in that pull request: it is a separate job, it fails the same way without the change, and it needs its own review. Refs macula-io/macula-ci-images#22, macula-io/martha#601. Found by Ceres in the same runs where the advisory scan was ported.
Member

Parked 2026-11-24 (crew cut to 6), mid-package, not handed off: PR 5 is open on juno/4-gates-plain-shell-checkout at 96f95d875c6f3f71c3ceff3f971b9a516420873f over base d0c531cf93270caddc6b6b883a608d5e9c427359 — plain-shell checkout, marketplace steps gated to github.com, and --user 1000:1000 --env HOME=/tmp on the forge; the run for that tip (index 40) is still queued and has not started, so gates-green is NOT yet proven, and the last evidence is run 36 / task 8432: it applied the uid-1000 options and died at could not make directory (with -p) "/.mix/archives/hex-2.7.0", which is the missing writable HOME.

Parked 2026-11-24 (crew cut to 6), mid-package, not handed off: PR 5 is open on `juno/4-gates-plain-shell-checkout` at `96f95d875c6f3f71c3ceff3f971b9a516420873f` over base `d0c531cf93270caddc6b6b883a608d5e9c427359` — plain-shell checkout, marketplace steps gated to github.com, and `--user 1000:1000 --env HOME=/tmp` on the forge; the run for that tip (index 40) is still queued and has not started, so gates-green is NOT yet proven, and the last evidence is run 36 / task 8432: it applied the uid-1000 options and died at `could not make directory (with -p) "/.mix/archives/hex-2.7.0"`, which is the missing writable HOME.
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-kanban#4
No description provided.