Migrate Loopbound CI to Forgejo Actions #3

Merged
alexander merged 30 commits from mcp/forgejo-ci-migration into main 2026-09-20 12:59:44 +02:00
Owner

Summary

Migrates Loopbound's CI contract from historical GitHub Actions to Forgejo Actions without changing gameplay, content, persistence, dependencies, package versions, runtime behavior, or active Slice work.

Base main: 7e24529b2a9e419218d2a1423d832b1bf587c8ef

Current PR HEAD: a45bfc337e4f47efca72a4f70ca103a26cae84b4

Changes

  • adds .forgejo/workflows/pull-request.yml as the authoritative core Forgejo PR workflow;
  • adds .forgejo/workflows/platform.yml as the conditional Tauri/Rust platform workflow;
  • preserves the nine current core acceptance areas as independently visible jobs;
  • preserves Desktop / Tauri cargo check when Tauri/platform paths change;
  • targets the proven self-hosted linux-amd64 runner label;
  • uses Node 22 Debian containers for JavaScript/browser work;
  • uses immutable Forgejo-hosted pins for checkout and Playwright failure artifact upload;
  • keeps real Playwright Chromium installation and E2E execution;
  • preserves high/critical production npm audit as a failing security gate;
  • updates npm run format:check to cover Forgejo workflow YAML;
  • rewrites CI_CHECKS.md around Forgejo Actions, exact-HEAD acceptance, conditional platform validation and manual dispatch;
  • retires both historical .github/workflows/ci.yml and .github/workflows/platform.yml so they cannot be mistaken for current CI authority.

The historical GitHub workflow files remain only because the current MCP repository-file API does not expose a safe delete operation. They are manual-only migration notices and no longer implement CI.

Required Forgejo checks

Always-required core gate:

  1. Content / JSON validation
  2. Content / resolved framework
  3. Tests / Vitest
  4. TypeScript / strict typecheck
  5. Quality / ESLint
  6. Quality / formatting
  7. Build / production web
  8. Browser / Playwright smoke
  9. Security / production npm audit

Conditional platform gate for Tauri/platform changes:

  • Desktop / Tauri cargo check

Infrastructure blocker

Forgejo currently reports has_actions: false for alexander/Loopbound.

This PR therefore does not claim green Forgejo CI. Both Forgejo workflow files are present and discoverable on the exact PR HEAD, but workflow execution is disabled at repository level.

The currently exposed prox2-mcp-gateway toolset does not provide the Forgejo repository-setting mutation needed to enable Actions, so the setting cannot be safely changed through the required repository connection from this task.

The Forgejo instance itself has working Actions in other repositories using the linux-amd64 runner label, so the migration targets that proven runner contract.

After repository Actions is enabled, retrigger this PR and accept only Forgejo runs whose commit SHA exactly equals the then-current PR HEAD.

Scope protection

No changes were made to Forgejo PR #1, Forgejo PR #2, planning/slice-6-readiness, feature/slice-5-applied-skill-learning, or their SHA-identical migration branches.

Merge

Do not merge automatically. Manual review/merge by the repository owner is expected.

## Summary Migrates Loopbound's CI contract from historical GitHub Actions to Forgejo Actions without changing gameplay, content, persistence, dependencies, package versions, runtime behavior, or active Slice work. Base `main`: `7e24529b2a9e419218d2a1423d832b1bf587c8ef` Current PR HEAD: `a45bfc337e4f47efca72a4f70ca103a26cae84b4` ## Changes - adds `.forgejo/workflows/pull-request.yml` as the authoritative core Forgejo PR workflow; - adds `.forgejo/workflows/platform.yml` as the conditional Tauri/Rust platform workflow; - preserves the nine current core acceptance areas as independently visible jobs; - preserves `Desktop / Tauri cargo check` when Tauri/platform paths change; - targets the proven self-hosted `linux-amd64` runner label; - uses Node 22 Debian containers for JavaScript/browser work; - uses immutable Forgejo-hosted pins for checkout and Playwright failure artifact upload; - keeps real Playwright Chromium installation and E2E execution; - preserves high/critical production `npm audit` as a failing security gate; - updates `npm run format:check` to cover Forgejo workflow YAML; - rewrites `CI_CHECKS.md` around Forgejo Actions, exact-HEAD acceptance, conditional platform validation and manual dispatch; - retires both historical `.github/workflows/ci.yml` and `.github/workflows/platform.yml` so they cannot be mistaken for current CI authority. The historical GitHub workflow files remain only because the current MCP repository-file API does not expose a safe delete operation. They are manual-only migration notices and no longer implement CI. ## Required Forgejo checks Always-required core gate: 1. Content / JSON validation 2. Content / resolved framework 3. Tests / Vitest 4. TypeScript / strict typecheck 5. Quality / ESLint 6. Quality / formatting 7. Build / production web 8. Browser / Playwright smoke 9. Security / production npm audit Conditional platform gate for Tauri/platform changes: - Desktop / Tauri cargo check ## Infrastructure blocker Forgejo currently reports `has_actions: false` for `alexander/Loopbound`. This PR therefore does **not** claim green Forgejo CI. Both Forgejo workflow files are present and discoverable on the exact PR HEAD, but workflow execution is disabled at repository level. The currently exposed prox2-mcp-gateway toolset does not provide the Forgejo repository-setting mutation needed to enable Actions, so the setting cannot be safely changed through the required repository connection from this task. The Forgejo instance itself has working Actions in other repositories using the `linux-amd64` runner label, so the migration targets that proven runner contract. After repository Actions is enabled, retrigger this PR and accept only Forgejo runs whose commit SHA exactly equals the then-current PR HEAD. ## Scope protection No changes were made to Forgejo PR #1, Forgejo PR #2, `planning/slice-6-readiness`, `feature/slice-5-applied-skill-learning`, or their SHA-identical migration branches. ## Merge Do not merge automatically. Manual review/merge by the repository owner is expected.
Author
Owner

Implementation update — repository-side CI migration is now complete on exact PR HEAD a45bfc337e4f47efca72a4f70ca103a26cae84b4.

Additional reconciliation completed:

  • migrated the existing conditional Tauri/Rust platform gate to .forgejo/workflows/platform.yml;
  • retired both historical GitHub workflow files as non-authoritative migration markers;
  • documented the nine always-required core checks plus the conditional desktop/Tauri check;
  • retained the self-hosted linux-amd64 runner contract and pinned Forgejo-hosted checkout/artifact actions;
  • kept Playwright browser validation and the production security audit as hard gates.

Forgejo still reports has_actions: false for this repository. The currently exposed prox2-mcp-gateway toolset has no repository-settings mutation for enabling Actions, so no exact-HEAD run can exist yet. This is now the only proven blocker to executing the new workflows; it is not being treated as a pass.

Do not merge based on historical GitHub status. After Actions is enabled, run/retrigger the Forgejo workflows on this exact PR HEAD and accept only the resulting Forgejo statuses.

Implementation update — repository-side CI migration is now complete on exact PR HEAD `a45bfc337e4f47efca72a4f70ca103a26cae84b4`. Additional reconciliation completed: - migrated the existing conditional Tauri/Rust platform gate to `.forgejo/workflows/platform.yml`; - retired both historical GitHub workflow files as non-authoritative migration markers; - documented the nine always-required core checks plus the conditional desktop/Tauri check; - retained the self-hosted `linux-amd64` runner contract and pinned Forgejo-hosted checkout/artifact actions; - kept Playwright browser validation and the production security audit as hard gates. Forgejo still reports `has_actions: false` for this repository. The currently exposed prox2-mcp-gateway toolset has no repository-settings mutation for enabling Actions, so no exact-HEAD run can exist yet. This is now the only proven blocker to executing the new workflows; it is not being treated as a pass. Do not merge based on historical GitHub status. After Actions is enabled, run/retrigger the Forgejo workflows on this exact PR HEAD and accept only the resulting Forgejo statuses.
ci: parallelize and harden Forgejo verification
Some checks failed
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
297aa5eba7
ci: pin Rust platform runtime
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
13a94cf6ca
ci: add scheduled dependency health audit
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
af1d4cf283
test: synchronize Content Studio E2E edits
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
09ddf49c48
docs: document optimized Forgejo CI contract
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Failing after 10s
Loopbound PR verification / Core / static and content (pull_request) Successful in 26s
Loopbound PR verification / Core / tests (pull_request) Successful in 10s
Loopbound PR verification / Browser / Playwright smoke (pull_request) Failing after 3m30s
Loopbound PR verification / Security / production npm audit (pull_request) Successful in 8s
a65a511c4d
ci: use canonical Playwright runtime
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
20c2ebac1c
ci: install verified pinned Rust toolchain
Some checks failed
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
bf982ab931
ci: keep explicit audit behavior unambiguous
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Failing after 51s
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
ef04545ac7
ci: label nested resource telemetry accurately
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
b5d321b029
docs: record actual runner allocation
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
e54bdbac79
ci: match current Tauri Cargo semantics
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
b3868473a9
docs: document unlocked Tauri check
All checks were successful
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Successful in 1m41s
Loopbound PR verification / Core / static and content (pull_request) Successful in 14s
Loopbound PR verification / Core / tests (pull_request) Successful in 10s
Loopbound PR verification / Browser / Playwright smoke (pull_request) Successful in 38s
Loopbound PR verification / Security / production npm audit (pull_request) Successful in 7s
95a41fded7
ci: pin Playwright image digest
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
eadc440844
docs: record immutable Playwright runtime
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
f4addd5fe0
ci: pin rustup bootstrap checksum
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
badd2728f2
docs: record pinned rustup bootstrap
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
f91c14cd99
ci: bound Cargo concurrency on shared runner
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
87b6faef58
docs: document Cargo worker bound
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
7e3ece73a9
ci: fix Forgejo concurrency expressions
Some checks failed
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
e6134392a4
ci: fix platform concurrency expression
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Has been cancelled
Loopbound PR verification / Core / static and content (pull_request) Has been cancelled
Loopbound PR verification / Core / tests (pull_request) Has been cancelled
Loopbound PR verification / Browser / Playwright smoke (pull_request) Has been cancelled
Loopbound PR verification / Security / production npm audit (pull_request) Has been cancelled
6fad02ebb6
docs: reconcile final Forgejo CI contract
Some checks failed
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Successful in 2m15s
Loopbound PR verification / Core / static and content (pull_request) Successful in 14s
Loopbound PR verification / Core / tests (pull_request) Successful in 10s
Loopbound PR verification / Browser / Playwright smoke (pull_request) Failing after 0s
Loopbound PR verification / Security / production npm audit (pull_request) Successful in 7s
e333fe15c5
ci: resolve Playwright amd64 manifest on runner
All checks were successful
Loopbound platform verification / Desktop / Tauri cargo check (pull_request) Successful in 2m15s
Loopbound PR verification / Core / static and content (pull_request) Successful in 16s
Loopbound PR verification / Core / tests (pull_request) Successful in 10s
Loopbound PR verification / Browser / Playwright smoke (pull_request) Successful in 18s
Loopbound PR verification / Security / production npm audit (pull_request) Successful in 7s
73767c28cf
alexander deleted branch mcp/forgejo-ci-migration 2026-09-20 12:59:44 +02:00
Sign in to join this conversation.
No reviewers
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
alexander/Loopbound!3
No description provided.