CI: stay on Forgejo Actions or move to Woodpecker CI? (research, tonight's failures as test cases) #17

Open
opened 2026-11-22 06:40:27 +00:00 by mars · 0 comments
Member

Refs #601

Purpose (decision): give the Supervisor what a menu needs to choose between staying on Forgejo Actions and moving to Woodpecker CI (as Codeberg runs it). Tonight's real failures are the test cases, weighed under the rule already in force: no marketplace actions, plain shell in our ci-images images. Asked under Raf's DECIDED 2026-11-22 "do both" (the Supervisor's CI proposals). Research only, no code.

The evidence for every row (file:line or URL) is in the analysis file ~/.claude/sessions/ANALYSIS_2026-11-22_forgejo-vs-woodpecker.md. Facts are for Forgejo 15.0.12 and Woodpecker 3.20.1.

test case / cost Forgejo Actions (stay) Woodpecker CI (move) better
1. Marketplace 404s on data.forgejo.org (setup-beam, rust-cache) moot under the rule: shell in ci-images images moot: steps are image: + commands:, with no actions at all tie
2. Nested-action pre-fetch (skipped steps still clone) moot once nested marketplace actions are gone under the rule no actions exist tie
3. No logs, jobs, cancel or rerun API (forge martha#13, sponsors#8) absent in 15. Forgejo's development line (Codeberg runs 17.0.0-121) adds jobs, logs, cancel and rerun; the first release with them is unconfirmed REST and CLI cover pipeline and step status, step logs, cancel, restart and approve; no filter by commit sha Woodpecker now; Forgejo on upgrade
4. Stalled queue and runs never expanded into jobs (martha forge PR 10, runs 1216-1219) 4 slots in total (capacity 2 × 2); a non-expanding run is a Forgejo defect, worked around by re-pushing; jobs cancelled by SQL cancel and restart by API or CLI, plus a queue view; 1 workflow per agent by default Woodpecker for recovery; capacity is the same work
5. Runner labels (runs_on [], on-host00) the runners serve only ubuntu-latest, docker and on-<host>; ours was a relabel, one line per job agent labels plus server-side filters; every label line rewritten in the port tie
6. Secrets under FORGE_TOKEN_FILE ("file path only") secrets reach steps through env unless a step writes the file; run token already cleared per step secrets go to env (from_secret), with no documented file mount; withheld from PRs unless enabled, limited to images, masked tie on the file rule; Woodpecker better on PRs
7. The bwrap runner (martha-bwrap, #755) built: its own user, rootless podman, scoped to martha, capacity 1 no sandbox backend: local has "no isolation at all", and podman is unofficial; needs a custom Go backend or a trusted dedicated agent Forgejo
8. Placeholder runs for workflow_call files (martha-engine create-version-bump-pr) a parser defect, fixed file by file (56decff13) cannot happen, because there is no workflow_call; reuse only through YAML anchors in one file or an external config service Woodpecker avoids the bug, loses the feature
Cost: martha (12 files, 3 workflow_call, bwrap job) about 5 marketplace uses to shell rewrite 12 files; 3 workflow_call to anchors; rebuild the bwrap gate Forgejo
Cost: macula-sponsors (6 files, 2 workflow_call) small: setup-* to shell rewrite 6 files; the composite becomes an image step Forgejo
Cost: martha-engine (37 files, 6 workflow_call, 83 park gates, about 40 actions, 20 secrets) only the kept jobs, as touched large: every kept job; 6 workflow_call plus 9 local reusable calls with no equivalent; 20 secrets to move Forgejo
Cost: macula-ci-images (27 files, 13 workflow_call, image-build runner) setup-beam ×4, docker/*, syft to shell largest: 13 workflow_call; image builds need a trusted repo or a host agent Forgejo
Cost: macula-fleet (11 jobs on [self-hosted, host00], no forge runners) relabel 11 jobs; add the forge runners to the fleet repo the same, plus a rewrite; the agents go into fleet instead Forgejo
Cost: the other ~107 forge repos (375 files and 306 reusable calls across 112 repos) per repo as touched a full rewrite before each repo's CI runs again; no converter exists Forgejo
New on host00, msi00 and git.macula.io nothing a server with a DB (sqlite/mysql/postgres) and a log store; a system OAuth2 app (redirect /authorize); app.ini ALLOWED_HOST_LIST=external,loopback when on the forge host; agents on both hosts with labels/filters for 4 runner kinds and MAX_WORKFLOWS raised; webhooks per activated repo; prove_handoff_ci and the ci= grammar rewritten Forgejo
Stays the same either way the forge, repos, PRs, branch protection, ssh push with per-member keys, the ci-images images, the no-marketplace rule, the token-file rule, the jobs network and LAN drop, slices, runner users, capacity planning —

Reading (Mercurius): stay on Forgejo Actions.

  • Woodpecker's real gains are the API and recovery (rows 3-4). The Forgejo upgrade path brings both.
  • Woodpecker loses on the bwrap gate, on reusable workflows, and on cost, which is a rewrite of every repo before its CI runs again.
  • If the menu wants more certainty, the next fact to prove is which Forgejo release first ships the jobs, logs and cancel API.
  • Unconfirmed (see the analysis file): native file-mounted secrets in either system; a rootless Woodpecker agent; the live runner configs on host00 and msi00; the text of forge martha#13 and sponsors#8.
Refs #601 Purpose (decision): give the Supervisor what a menu needs to choose between staying on Forgejo Actions and moving to Woodpecker CI (as Codeberg runs it). Tonight's real failures are the test cases, weighed under the rule already in force: no marketplace actions, plain shell in our ci-images images. Asked under Raf's DECIDED 2026-11-22 "do both" (the Supervisor's CI proposals). Research only, no code. The evidence for every row (file:line or URL) is in the analysis file `~/.claude/sessions/ANALYSIS_2026-11-22_forgejo-vs-woodpecker.md`. Facts are for Forgejo 15.0.12 and Woodpecker 3.20.1. | test case / cost | Forgejo Actions (stay) | Woodpecker CI (move) | better | |---|---|---|---| | 1. Marketplace 404s on data.forgejo.org (setup-beam, rust-cache) | moot under the rule: shell in ci-images images | moot: steps are `image:` + `commands:`, with no actions at all | tie | | 2. Nested-action pre-fetch (skipped steps still clone) | moot once nested marketplace actions are gone under the rule | no actions exist | tie | | 3. No logs, jobs, cancel or rerun API (forge martha#13, sponsors#8) | absent in 15. Forgejo's development line (Codeberg runs 17.0.0-121) adds jobs, logs, cancel and rerun; the first release with them is unconfirmed | REST and CLI cover pipeline and step status, step logs, cancel, restart and approve; no filter by commit sha | Woodpecker now; Forgejo on upgrade | | 4. Stalled queue and runs never expanded into jobs (martha forge PR 10, runs 1216-1219) | 4 slots in total (capacity 2 × 2); a non-expanding run is a Forgejo defect, worked around by re-pushing; jobs cancelled by SQL | cancel and restart by API or CLI, plus a queue view; 1 workflow per agent by default | Woodpecker for recovery; capacity is the same work | | 5. Runner labels (`runs_on []`, on-host00) | the runners serve only `ubuntu-latest`, `docker` and `on-<host>`; ours was a relabel, one line per job | agent labels plus server-side filters; every label line rewritten in the port | tie | | 6. Secrets under FORGE_TOKEN_FILE ("file path only") | secrets reach steps through env unless a step writes the file; run token already cleared per step | secrets go to env (`from_secret`), with no documented file mount; withheld from PRs unless enabled, limited to images, masked | tie on the file rule; Woodpecker better on PRs | | 7. The bwrap runner (martha-bwrap, #755) | built: its own user, rootless podman, scoped to martha, capacity 1 | no sandbox backend: `local` has "no isolation at all", and podman is unofficial; needs a custom Go backend or a trusted dedicated agent | **Forgejo** | | 8. Placeholder runs for workflow_call files (martha-engine create-version-bump-pr) | a parser defect, fixed file by file (56decff13) | cannot happen, because there is no workflow_call; reuse only through YAML anchors in one file or an external config service | Woodpecker avoids the bug, loses the feature | | Cost: martha (12 files, 3 workflow_call, bwrap job) | about 5 marketplace uses to shell | rewrite 12 files; 3 workflow_call to anchors; rebuild the bwrap gate | Forgejo | | Cost: macula-sponsors (6 files, 2 workflow_call) | small: setup-* to shell | rewrite 6 files; the composite becomes an image step | Forgejo | | Cost: martha-engine (37 files, 6 workflow_call, 83 park gates, about 40 actions, 20 secrets) | only the kept jobs, as touched | large: every kept job; 6 workflow_call plus 9 local reusable calls with no equivalent; 20 secrets to move | Forgejo | | Cost: macula-ci-images (27 files, 13 workflow_call, image-build runner) | setup-beam ×4, docker/*, syft to shell | largest: 13 workflow_call; image builds need a trusted repo or a host agent | Forgejo | | Cost: macula-fleet (11 jobs on `[self-hosted, host00]`, no forge runners) | relabel 11 jobs; add the forge runners to the fleet repo | the same, plus a rewrite; the agents go into fleet instead | Forgejo | | Cost: the other ~107 forge repos (375 files and 306 reusable calls across 112 repos) | per repo as touched | a full rewrite before each repo's CI runs again; no converter exists | Forgejo | | New on host00, msi00 and git.macula.io | nothing | a server with a DB (sqlite/mysql/postgres) and a log store; a system OAuth2 app (redirect `/authorize`); app.ini `ALLOWED_HOST_LIST=external,loopback` when on the forge host; agents on both hosts with labels/filters for 4 runner kinds and MAX_WORKFLOWS raised; webhooks per activated repo; prove_handoff_ci and the ci= grammar rewritten | Forgejo | | Stays the same either way | the forge, repos, PRs, branch protection, ssh push with per-member keys, the ci-images images, the no-marketplace rule, the token-file rule, the jobs network and LAN drop, slices, runner users, capacity planning | | — | **Reading (Mercurius):** stay on Forgejo Actions. - Woodpecker's real gains are the API and recovery (rows 3-4). The Forgejo upgrade path brings both. - Woodpecker loses on the bwrap gate, on reusable workflows, and on cost, which is a rewrite of every repo before its CI runs again. - If the menu wants more certainty, the next fact to prove is which Forgejo release first ships the jobs, logs and cancel API. - Unconfirmed (see the analysis file): native file-mounted secrets in either system; a rootless Woodpecker agent; the live runner configs on host00 and msi00; the text of forge martha#13 and sponsors#8.
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#17
No description provided.