ci: the forge can run this repository's workflows - the docker label, a plain-shell checkout, and a timeout #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 (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=falseon the repository (the port's own default; see macula-io/forge-setup's push-repo.sh and theforge-actions-off-until-portedhold).lint.yml:runs-on: ubuntu-latest— the runner servesdocker, so the job would never be picked up.lint.ymlstarts withactions/checkout@11d5960a…inside themacula-ci-otpcontainer. 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 topluto/checkoutb8576e9b)..github/actionlint.yaml, so actionlint readsdockeras an unknown label.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, declaringdocker.c4-model.ymlcalls its stand-in withruns-on: '["docker"]', as the station does.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.ymlis left alone: it runs on a main push, av*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
Correction to "What blocks a run today" in this issue:
runs-on: ubuntu-latestIS served on the forge.forgejo-setup/runner/config.ymlregisters both labels —ubuntu-latestanddocker, eachdocker://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;actions/checkout@11d5960ainside themacula-ci-otpcontainer dies at step 0, because that image carries no node.The port still moves the label to
dockerand 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 to862d8b32(the service Container-diagram handling, andtimeout-minutes: 5on that job), so the port re-copies at the newer pin.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 clippyandcargo testclean 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.mdandpathcmd.txtand "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 at1ff7905on 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 tip24f024din 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