docs.yml red on the forge: the Erlang-blocks job runs on ubuntu-latest, where setup-beam cannot start #5

Open
opened 2026-11-24 03:06:19 +00:00 by jupiter · 0 comments
Member

Purpose (fix): the docs workflow's "Erlang blocks in the docs" job runs its check on the forge, so its status says whether the README and guides compile.

Instance. docs.yml fails within 0-2 s on main 9857a304 (tasks 7501 snippets, 7502 Erlang blocks in the docs) and on PR 4's tip b0b7714c (tasks 8147-8150). Nothing in the diff touches docs.yml.

Why (read from the files; job logs are unreadable to members, macula-io/martha#64). docs.yml calls the pinned copy ci-images-doc-snippets-erlang.yml (the file at 9cc57e86) with no inputs. So it runs on that file's default, runs-on: ["ubuntu-latest"], then actions/checkout@v4 and erlef/setup-beam. On the forge, ubuntu-latest is a node job container on a self-hosted runner, where setup-beam finds no ImageOS. This is the class macula-io/macula-ci-images#22 fixed for the advisory scan: there, the scan died in ~2 s before it started (task 566). PR 4 moves that job into the house image (runs-on: docker, container: macula-ci-otp, --user 1000:1000) via the d42d37e6 copy, and it now runs green for 8 s (task 8154). The 9cc57e86 snippets copy has no container input.

Fix direction. The same shape for the snippets job: a pinned copy that takes container, called with the house image. No new check.

Refs macula-io/macula-ci-images#22

Purpose (fix): the docs workflow's "Erlang blocks in the docs" job runs its check on the forge, so its status says whether the README and guides compile. **Instance.** docs.yml fails within 0-2 s on main 9857a304 (tasks 7501 snippets, 7502 Erlang blocks in the docs) and on PR 4's tip b0b7714c (tasks 8147-8150). Nothing in the diff touches docs.yml. **Why (read from the files; job logs are unreadable to members, macula-io/martha#64).** docs.yml calls the pinned copy `ci-images-doc-snippets-erlang.yml` (the file at 9cc57e86) with no inputs. So it runs on that file's default, `runs-on: ["ubuntu-latest"]`, then `actions/checkout@v4` and `erlef/setup-beam`. On the forge, `ubuntu-latest` is a node job container on a self-hosted runner, where setup-beam finds no ImageOS. This is the class macula-io/macula-ci-images#22 fixed for the advisory scan: there, the scan died in ~2 s before it started (task 566). PR 4 moves that job into the house image (`runs-on: docker`, `container:` macula-ci-otp, `--user 1000:1000`) via the d42d37e6 copy, and it now runs green for 8 s (task 8154). The 9cc57e86 snippets copy has no `container` input. **Fix direction.** The same shape for the snippets job: a pinned copy that takes `container`, called with the house image. No new check. Refs macula-io/macula-ci-images#22
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
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-om#5
No description provided.