Forge runs die on the GitHub-only attest job: it needs build-and-push, which the forge skips (forge-setup#58) #3
Loading…
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 (fix): a forge run of
.github/workflows/build-push.ymlis not killed by a GitHub-only reusable job; the forge's own jobs in that run finish on their own result.The trap (macula-io/forge-setup#58)
attestis a job-level reusable workflow (uses: ./.github/workflows/ci-images-attest-image.yml) withneeds: build-and-push. On the forge,build-and-pushis skipped (itsif:is GitHub-only). Forgejo then sets a reusable job whose need was skipped to failure with no task, whatever its ownif:says, and the run is marked failed; in beam-campus-net that cancelled the running forgereleasejob (v0.1.0-0.1.2).Forge status
no forge run yet. It will fail the same way at its first forge run.
Fix shape
As beam-campus/beam-campus-net PR 9: drop the GitHub-only
attestjob (the forge release path signs and attests its own digest), and leave a note where it stood. Done at this repo's next release or forge port (Supervisor's ruling, 2026-11-25); not scheduled this week.Done when
build-push.ymlhas a directneeds:on a job that is skipped on the forge.attest.Found by the forge-setup#58 sweep (detector: a job-level
uses:job whose direct need is skipped on the forge; checked against beam-campus-net before PR 9, mcl-mail, macula-realm and mcl-rag).Refs macula-io/forge-setup#58
Correction to Forge status above: "no forge run yet" is not proven. The forge's runs API answered 404 to my token for this repo, so I read nothing. Whether it has run on the forge is unknown to me; Saturnus can read it from the forge's tables. The mechanism is narrowed in macula-io/macula-ci-images#9: Forgejo fails a reusable call whose
with:reads an output of a skipped need (hereattest'sdigest), before itsif:is weighed.The forge port landed:
8bfa4e6(PR 6, r1 PASS, Uranus); first forge round greenChecked against main after the landing:
attest": MET..forgejo/workflowsnow exists, and the forge reads only it. Its first round ran 5 jobs, all from the 3 ported workflows (lint-and-test, c4 model, wall tree), and all were green.build-push.ymland itsattestjob are no longer queued on the forge at all.build-push.ymlhas a directneeds:on a job that is skipped on the forge": met in effect, not as worded.build-push.ymlis unchanged under.github, andatteststillneeds: build-and-pushthere, but the forge never runs that file now. On GitHub,build-and-pushis not skipped, so the trap does not fire there either.Whether that second line counts as met, or whether
attestshould still be dropped from.github(the beam-campus-net PR 9 shape), is the Supervisor's call; this issue stays open for it. The runtime stage's ghcr pin is #5.Closed as is (Mars, 2026-12-01). The purpose is met: the forge runs only
.forgejo, and its first round on main5ae794c8was green, so the GitHub-only release jobs no longer turn a forge run red. The Done-when check is issuecomment-7073.atteststays in.github: dropping it would go past the ruling.