ci(forgejo): add runner-compatible CI workflow #39

Merged
jmz merged 1 commit from ci/forgejo-runner-compatible into main 2026-10-06 16:04:35 +00:00
Owner

Why every CI run failed in about 2s

The upstream workflows in .github/workflows use actions/checkout@v7, setup-go@v6 and setup-node@v6. All three declare runs.using: node24. The git.mirus-tech.com runner is forgejo-runner v6.3.1 (container runner on the NAS, job image node-with-docker:20-bookworm), and it only accepts node12/16/20. Runner log for task 8830 (go.yml, PR #37):

☁  git clone 'https://github.com/actions/checkout' # ref=v7
The runs.using key in action.yml must be one of: [composite docker node12 node16 node20 go], got node24
🏁  Job failed

The web.yaml runs for #17/#18 use the same action versions. The runner label is not the problem: ubuntu-latest and docker are both registered.

So the root cause is on the runner side: the runner is too old for node24 actions. This PR is the repo-side fix that works today.

What

Adds .forgejo/workflows/ci.yml, with node20 action versions (checkout@v4, setup-go@v5, setup-node@v4) on the docker label:

  • go: the same steps as upstream go.yml (db fmt/vet/test, plugins test and TinyGo build). It also installs git and make, which the slim job image lacks, and drops sudo.
  • web: npm ci, svelte-check and vitest. Playwright integration tests are skipped because they need the full docker-compose stack inside the 2-CPU/2G dind.

Forgejo uses .forgejo/workflows instead of .github/workflows once the directory exists. Merging this means:

  • .github/ stays byte-identical to upstream, so upstream syncs don't conflict.
  • The upstream release workflows (push to Docker Hub flomp/* and ghcr.io/open-wanderer) stop being attempted here.
  • #38 (upstream-sync.yml) also adds to .forgejo/workflows, so it has the same effect. It uses actions/checkout@v7 too and will fail the same way on this runner. Change it to @v4 before merging.
  • Open PR branches (#17, #18, #37) need a rebase onto main to pick this up.

Verified

This PR's own run: go ✅ (task 9816) and web ✅ (task 9817, svelte-check 0 errors, vitest 1 file passed).

Longer term

Upgrade forgejo-runner (v6.3.1 → a current release that accepts node24) and move the job image to Node 22/24. After that, the upstream workflows could run as-is.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B8woGafdDuKYnXajcXG9Ar

## Why every CI run failed in about 2s The upstream workflows in `.github/workflows` use `actions/checkout@v7`, `setup-go@v6` and `setup-node@v6`. All three declare `runs.using: node24`. The git.mirus-tech.com runner is **forgejo-runner v6.3.1** (container `runner` on the NAS, job image `node-with-docker:20-bookworm`), and it only accepts node12/16/20. Runner log for task 8830 (`go.yml`, PR #37): ``` ☁ git clone 'https://github.com/actions/checkout' # ref=v7 The runs.using key in action.yml must be one of: [composite docker node12 node16 node20 go], got node24 🏁 Job failed ``` The `web.yaml` runs for #17/#18 use the same action versions. The runner label is not the problem: `ubuntu-latest` and `docker` are both registered. So the **root cause is on the runner side**: the runner is too old for node24 actions. This PR is the repo-side fix that works today. ## What Adds `.forgejo/workflows/ci.yml`, with node20 action versions (`checkout@v4`, `setup-go@v5`, `setup-node@v4`) on the `docker` label: - **go**: the same steps as upstream `go.yml` (db fmt/vet/test, plugins test and TinyGo build). It also installs git and make, which the slim job image lacks, and drops `sudo`. - **web**: `npm ci`, `svelte-check` and vitest. Playwright integration tests are skipped because they need the full docker-compose stack inside the 2-CPU/2G dind. **Forgejo uses `.forgejo/workflows` instead of `.github/workflows` once the directory exists.** Merging this means: - `.github/` stays byte-identical to upstream, so upstream syncs don't conflict. - The upstream release workflows (push to Docker Hub `flomp/*` and `ghcr.io/open-wanderer`) stop being attempted here. - #38 (`upstream-sync.yml`) also adds to `.forgejo/workflows`, so it has the same effect. It uses `actions/checkout@v7` too and **will fail the same way** on this runner. Change it to `@v4` before merging. - Open PR branches (#17, #18, #37) need a rebase onto main to pick this up. ## Verified This PR's own run: `go` ✅ (task 9816) and `web` ✅ (task 9817, svelte-check 0 errors, vitest 1 file passed). ## Longer term Upgrade forgejo-runner (v6.3.1 → a current release that accepts node24) and move the job image to Node 22/24. After that, the upstream workflows could run as-is. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01B8woGafdDuKYnXajcXG9Ar
ci(forgejo): add runner-compatible CI workflow
All checks were successful
CI / go (pull_request) Successful in 5m14s
CI / web (pull_request) Successful in 1m18s
CI / go (push) Successful in 6m52s
CI / web (push) Successful in 2m16s
d8e1fd3df9
The upstream .github workflows use node24 actions (checkout@v7, setup-go@v6,
setup-node@v6), which the git.mirus-tech.com runner (forgejo-runner v6.3.1)
rejects, so every run failed after about 2s. Add .forgejo/workflows/ci.yml
with node20 action versions on the `docker` label. Forgejo then ignores
.github/workflows, which also stops the upstream release workflows from
being attempted here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B8woGafdDuKYnXajcXG9Ar
jmz merged commit d8e1fd3df9 into main 2026-10-06 16:04:35 +00:00
jmz deleted branch ci/forgejo-runner-compatible 2026-10-06 16:04:35 +00:00
Sign in to join this conversation.
No reviewers
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
public/wanderer!39
No description provided.