Forge runs die on the GitHub-only attest job: it needs image, 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/ci.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: image. On the forge,imageis 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
ci.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.mercurius referenced this issue2026-12-01 04:18:12 +00:00