The ci-images advisories stand-in still names three third-party actions; converting them waits on the beam-toolchain ruling #35

Open
opened 2026-11-22 10:21:25 +00:00 by pluto · 1 comment
Member

DECIDED 2026-11-22 "do both" (Raf, on the Supervisor's CI proposals): forge CI uses NO marketplace actions. Every job step is plain shell, in our own macula-ci-images image or a script in the repo. No uses: of a third-party action. Only local composite actions in the repo itself, or vendored copies already landed (setup-rust-toolchain), stay until replaced.

Purpose (CI rule): the four third-party action lines in the vendored ci-images advisories workflow are converted to plain shell or a local action, so the file calls nothing outside the forge and our own images.

Class

A few marketplace uses: survive in the ci-images workflows. The forge cannot resolve them: a short uses: goes through DEFAULT_ACTIONS_URL (https://data.forgejo.org), which holds no copy of these three, and forgejo-runner v13.2.2 clones every step's action before it reads the step's if:, so even a guarded-off step fails at set-up. Today they are written as full URLs over github.com at a pinned sha — an anonymous clone of a public repository, and working — but they are still third-party actions under the rule above.

Instance

macula-io/martha's .github/workflows/ci-images-dependency-advisories.yml, the stand-in at the branch of PR 34 (the bytes of macula-io/macula-ci-images@9d9a6068):

  • line 236 and line 247: https://github.com/erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
  • line 275: https://github.com/dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
  • line 300: https://github.com/shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2

The change belongs upstream: macula-io/macula-ci-images's .github/workflows/dependency-advisories.yml, the same four lines at 219, 230, 258 and 283 there. The file here is a byte copy under a "STAND-IN, DO NOT EDIT HERE" header and is only ever re-copied from upstream.

How each could go (a shape, not a decision)

  • setup-beam (two lines): run the module job in a forge-registry macula-ci-images OTP 28 image as container: and drop the step, the shape the Supervisor already ruled for the beam-campus port. It waits on the open beam-toolchain ruling.
  • dtolnay/rust-toolchain: the vendored copy that has already landed elsewhere, or an image carrying the toolchain.
  • shivammathur/setup-php: this same file already carries the forge path for PHP — PHP and composer from the job image, or from Debian's archive when the image has none.

Ruling today

The Supervisor (2026-11-22, relayed by the Dispatcher) ruled the four lines stay exactly as forge main has them, and that converting them when the file is next touched is a scope question. Nothing here is a change request yet; the issue is the place the conversion gets decided.

Refs macula-io/martha#601, macula-io/martha#23.

> DECIDED 2026-11-22 "do both" (Raf, on the Supervisor's CI proposals): forge CI uses NO marketplace actions. Every job step is plain shell, in our own macula-ci-images image or a script in the repo. No `uses:` of a third-party action. Only local composite actions in the repo itself, or vendored copies already landed (setup-rust-toolchain), stay until replaced. Purpose (CI rule): the four third-party action lines in the vendored ci-images advisories workflow are converted to plain shell or a local action, so the file calls nothing outside the forge and our own images. ## Class A few marketplace `uses:` survive in the ci-images workflows. The forge cannot resolve them: a short `uses:` goes through `DEFAULT_ACTIONS_URL` (https://data.forgejo.org), which holds no copy of these three, and forgejo-runner v13.2.2 clones every step's action before it reads the step's `if:`, so even a guarded-off step fails at set-up. Today they are written as full URLs over github.com at a pinned sha — an anonymous clone of a public repository, and working — but they are still third-party actions under the rule above. ## Instance `macula-io/martha`'s `.github/workflows/ci-images-dependency-advisories.yml`, the stand-in at the branch of PR 34 (the bytes of macula-io/macula-ci-images@9d9a6068): - line 236 and line 247: `https://github.com/erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1` - line 275: `https://github.com/dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable` - line 300: `https://github.com/shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2` The change belongs upstream: `macula-io/macula-ci-images`'s `.github/workflows/dependency-advisories.yml`, the same four lines at 219, 230, 258 and 283 there. The file here is a byte copy under a "STAND-IN, DO NOT EDIT HERE" header and is only ever re-copied from upstream. ## How each could go (a shape, not a decision) - `setup-beam` (two lines): run the module job in a forge-registry macula-ci-images OTP 28 image as `container:` and drop the step, the shape the Supervisor already ruled for the beam-campus port. It waits on the open beam-toolchain ruling. - `dtolnay/rust-toolchain`: the vendored copy that has already landed elsewhere, or an image carrying the toolchain. - `shivammathur/setup-php`: this same file already carries the forge path for PHP — PHP and composer from the job image, or from Debian's archive when the image has none. ## Ruling today The Supervisor (2026-11-22, relayed by the Dispatcher) ruled the four lines stay exactly as forge main has them, and that converting them when the file is next touched is a scope question. Nothing here is a change request yet; the issue is the place the conversion gets decided. Refs macula-io/martha#601, macula-io/martha#23.
Author
Member

Log read requested for two red forge runs (refs macula-io/macula-ci-images#8, macula-io/macula-ci-images#4).

On macula-io/macula-ci-images at 23f8377, dispatched once each:

  • doc-snippets-erlang-selftest, run 1781 (73), task 2402 script plus its snippets and wired jobs, all failure, about 3 s
  • doc-snippets-php-selftest, run 1783 (75), task 2410 script plus its snippets and wired jobs, all failure, about 23 s

The same tip's dependency-advisories, csharp, go and ts self-tests are green, advisories with all ten tasks, so the runner and the plain-shell checkout are working there.

What cannot be read from here: which step failed. Forgejo 15 has no log endpoint (macula-io/martha#13), and the tasks API returns None for started_at and stopped_at, so the durations above are the run's own stamps, not the jobs'.

So the cause is unread. My reading, not a claim: an erlang self-test wants an OTP build and a php one wants php, and neither toolchain is provided for the forge's runner. The gate is that reading, and it should not be trusted until a log says so.

Asks: whoever has log access reads task 2402 and task 2410 and posts the first error line of each here. Until then the erlang and php self-tests are off branch and PR triggers, running on main pushes and by workflow_dispatch, so their reds do not sit on any package's tip.

Log read requested for two red forge runs (refs macula-io/macula-ci-images#8, macula-io/macula-ci-images#4). On macula-io/macula-ci-images at 23f8377, dispatched once each: - doc-snippets-erlang-selftest, run 1781 (73), task 2402 `script` plus its `snippets` and `wired` jobs, all failure, about 3 s - doc-snippets-php-selftest, run 1783 (75), task 2410 `script` plus its `snippets` and `wired` jobs, all failure, about 23 s The same tip's dependency-advisories, csharp, go and ts self-tests are green, advisories with all ten tasks, so the runner and the plain-shell checkout are working there. What cannot be read from here: which step failed. Forgejo 15 has no log endpoint (macula-io/martha#13), and the tasks API returns None for started_at and stopped_at, so the durations above are the run's own stamps, not the jobs'. So the cause is unread. My reading, not a claim: an erlang self-test wants an OTP build and a php one wants php, and neither toolchain is provided for the forge's runner. The gate is that reading, and it should not be trusted until a log says so. Asks: whoever has log access reads task 2402 and task 2410 and posts the first error line of each here. Until then the erlang and php self-tests are off branch and PR triggers, running on main pushes and by workflow_dispatch, so their reds do not sit on any package's tip.
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
martha-ai/martha#35
No description provided.