ci: the forge can run this repository's workflows - the docker label, a plain-shell checkout, and a timeout #3

Open
opened 2026-11-23 13:12:17 +00:00 by ceres · 2 comments
Member

Purpose (workflow port): the forge starts and runs this repository's workflows, so a pull request here is reviewed with a real run on its tip — because macula-services/mcl-rag#2 is being reviewed now with no possible run: Actions are off, and the workflow that tests code is not portable as it stands.

Refs macula-services/mcl-rag#2. Scope: lint.yml, the only workflow here that tests code.

What blocks a run today (read at 7b02763, with a member token)

  • has_actions=false on the repository (the port's own default; see macula-io/forge-setup's push-repo.sh and the forge-actions-off-until-ported hold).
  • lint.yml: runs-on: ubuntu-latest — the runner serves docker, so the job would never be picked up.
  • lint.yml starts with actions/checkout@11d5960a… inside the macula-ci-otp container. That image carries no node, so the step dies at step 0 — the same death macula-services/mcl-mail#3 fixed with the station's plain-shell checkout (byte-identical to pluto/checkout b8576e9b).
  • No .github/actionlint.yaml, so actionlint reads docker as an unknown label.
  • No timeout-minutes: on the job.

What changes

  • lint.yml: runs-on: docker; the station's plain-shell checkout step; timeout-minutes: set from a cold run measured on the runner (the whole job — toolchain check, two NIFs' clippy and tests, eunit, ct, dialyzer — is long; the number comes from the run, not from a guess).
  • .github/actionlint.yaml: the station's file, declaring docker.
  • c4-model.yml calls its stand-in with runs-on: '["docker"]', as the station does.
  • The three ci-images-* stand-ins: re-copied byte for byte from macula-io/macula-ci-images at a named pin, under the STAND-IN header, never hand-edited. build-push.yml is left alone: it runs on a main push, a v* tag and a dispatch, never on a pull request.

Runs

None today, and none can be while Actions are off. Once the hold is lifted, a push to a pull request's head starts lint.yml; its run id and job list go to the dispatcher with the handoff.

Refs macula-services/mcl-rag#2 · macula-services/mcl-mail#3 · macula-io/macula-ci-images#19

Purpose (workflow port): the forge starts and runs this repository's workflows, so a pull request here is reviewed with a real run on its tip — because macula-services/mcl-rag#2 is being reviewed now with no possible run: Actions are off, and the workflow that tests code is not portable as it stands. Refs macula-services/mcl-rag#2. Scope: `lint.yml`, the only workflow here that tests code. ## What blocks a run today (read at 7b02763, with a member token) - `has_actions=false` on the repository (the port's own default; see macula-io/forge-setup's push-repo.sh and the `forge-actions-off-until-ported` hold). - `lint.yml`: `runs-on: ubuntu-latest` — the runner serves `docker`, so the job would never be picked up. - `lint.yml` starts with `actions/checkout@11d5960a…` inside the `macula-ci-otp` container. That image carries no node, so the step dies at step 0 — the same death macula-services/mcl-mail#3 fixed with the station's plain-shell checkout (byte-identical to `pluto/checkout` b8576e9b). - No `.github/actionlint.yaml`, so actionlint reads `docker` as an unknown label. - No `timeout-minutes:` on the job. ## What changes - `lint.yml`: `runs-on: docker`; the station's plain-shell checkout step; `timeout-minutes:` set from a cold run measured on the runner (the whole job — toolchain check, two NIFs' clippy and tests, eunit, ct, dialyzer — is long; the number comes from the run, not from a guess). - `.github/actionlint.yaml`: the station's file, declaring `docker`. - `c4-model.yml` calls its stand-in with `runs-on: '["docker"]'`, as the station does. - The three `ci-images-*` stand-ins: re-copied byte for byte from macula-io/macula-ci-images at a named pin, under the STAND-IN header, never hand-edited. `build-push.yml` is left alone: it runs on a main push, a `v*` tag and a dispatch, never on a pull request. ## Runs None today, and none can be while Actions are off. Once the hold is lifted, a push to a pull request's head starts `lint.yml`; its run id and job list go to the dispatcher with the handoff. Refs macula-services/mcl-rag#2 · macula-services/mcl-mail#3 · macula-io/macula-ci-images#19
Author
Member

Correction to "What blocks a run today" in this issue: runs-on: ubuntu-latest IS served on the forge. forgejo-setup/runner/config.yml registers both labels — ubuntu-latest and docker, each docker://node:22-bookworm — so the label is not what would stop a run.

What actually blocks one:

  • has_actions=false (macula-io/forge-setup#16) — no run is created at all;
  • and where a job does run, actions/checkout@11d5960a inside the macula-ci-otp container dies at step 0, because that image carries no node.

The port still moves the label to docker and adds .github/actionlint.yaml, as macula-services/mcl-mail#3 and the station do — but that is the house's convention for a private repo whose GitHub CI is retired, not a fix for a job that would never start.

One more thing the port picks up: the c4 stand-in here is pinned at c91235da; macula-io/macula-ci-images has moved to 862d8b32 (the service Container-diagram handling, and timeout-minutes: 5 on that job), so the port re-copies at the newer pin.

Correction to "What blocks a run today" in this issue: **`runs-on: ubuntu-latest` IS served on the forge.** `forgejo-setup/runner/config.yml` registers both labels — `ubuntu-latest` and `docker`, each `docker://node:22-bookworm` — so the label is not what would stop a run. What actually blocks one: - `has_actions=false` (macula-io/forge-setup#16) — no run is created at all; - and where a job does run, `actions/checkout@11d5960a` inside the `macula-ci-otp` container dies at step 0, because that image carries no node. The port still moves the label to `docker` and adds `.github/actionlint.yaml`, as macula-services/mcl-mail#3 and the station do — but that is the house's convention for a private repo whose GitHub CI is retired, not a fix for a job that would never start. One more thing the port picks up: the c4 stand-in here is pinned at `c91235da`; macula-io/macula-ci-images has moved to `862d8b32` (the service Container-diagram handling, and `timeout-minutes: 5` on that job), so the port re-copies at the newer pin.
Author
Member

Measured: the 15-minute ceiling sits below a cold dialyzer PLT build. Run 68 (attempt 1) on 77adec95, the PR 6 tip, 2026-11-23.

Everything that tests code was green before dialyzer: cargo clippy and cargo test clean in both NIFs, rebar3 eunit "9 passed; 0 failed", rebar3 ct "All 64 tests passed". Dialyzer started at 23:13:55Z ("Building with 223 files in /root/.cache/rebar3/rebar3_28.4.3_plt"), was still at "Adding 435 files to _build/default/rebar3_28.4.3_plt" at 23:14:26Z, and the job was killed at 23:14:47.6Z — exactly 15m00s after the 22:59:47.6Z start. The runner then logged context-deadline-exceeded copies of /var/run/act/workflow/SUMMARY.md and pathcmd.txt and "Job failed". The failed step is the ceiling, not a command: no rebar3, cargo, eunit or ct step failed in the log.

The number in lint.yml ("the same twelve steps at 1ff7905 on 2026-11-23 took 83 s (host00, OTP 28); 15 minutes is ten times that") was measured on a warm PLT: the same workflow passed on the previous tip 24f024d in 7m36s (run 61, 22:17:09Z -> 22:24:47Z). A cold PLT build adds roughly fourteen minutes of its own, so a cold run needs the sum, not ten times the warm job.

No number proposed here — this issue's own rule is that the timeout comes from a run. Run 68 is the cold measurement on a tip whose build is otherwise green; runs 69 and 70 are re-dispatches of the same tip (23:17:32Z and 23:19:48Z) and will say whether the cache is cold again or was a one-off.

Refs macula-services/mcl-rag#6

**Measured: the 15-minute ceiling sits below a cold dialyzer PLT build.** Run 68 (attempt 1) on `77adec95`, the PR 6 tip, 2026-11-23. Everything that tests code was green before dialyzer: `cargo clippy` and `cargo test` clean in both NIFs, `rebar3 eunit` "9 passed; 0 failed", `rebar3 ct` "All 64 tests passed". Dialyzer started at 23:13:55Z ("Building with 223 files in /root/.cache/rebar3/rebar3_28.4.3_plt"), was still at "Adding 435 files to _build/default/rebar3_28.4.3_plt" at 23:14:26Z, and the job was killed at 23:14:47.6Z — exactly 15m00s after the 22:59:47.6Z start. The runner then logged context-deadline-exceeded copies of `/var/run/act/workflow/SUMMARY.md` and `pathcmd.txt` and "Job failed". The failed step is the ceiling, not a command: no rebar3, cargo, eunit or ct step failed in the log. The number in `lint.yml` ("the same twelve steps at 1ff7905 on 2026-11-23 took 83 s (host00, OTP 28); 15 minutes is ten times that") was measured on a **warm** PLT: the same workflow passed on the previous tip `24f024d` in 7m36s (run 61, 22:17:09Z -> 22:24:47Z). A cold PLT build adds roughly fourteen minutes of its own, so a cold run needs the sum, not ten times the warm job. No number proposed here — this issue's own rule is that the timeout comes from a run. Run 68 is the cold measurement on a tip whose build is otherwise green; runs 69 and 70 are re-dispatches of the same tip (23:17:32Z and 23:19:48Z) and will say whether the cache is cold again or was a one-off. Refs macula-services/mcl-rag#6
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-rag#3
No description provided.