chore(ci): remove CircleCI and Chunk; Forgejo runs the checks only CircleCI ran #2548

Merged
HumanBean merged 1 commit from HumanBean/Longshot:push-possqqzoqxlu into main 2026-11-25 17:28:04 +00:00
Owner

Summary

CI was half on CircleCI and half on Forgejo Actions. This removes CircleCI completely, so Forgejo Actions is the only CI. Three checks only ran on CircleCI before, and they now run in Forgejo's ci.yml.

Removed

  • .circleci/ (setup, shared jobs, events, fork doorbell, path mapping, Smarter Testing suite).
  • .chunk/config.json, the config for CircleCI's Chunk CLI (remote sidecar). Also the ci:smoke mise task, which only Chunk ran. tests/test_run_all_junit.py still runs in run_all.py.
  • From mise.toml and mise.lock: circleci-cli, and conftest, which only the orb's policy check used.
  • The manual circleci-config-validate pre-commit hook, .gitignore's test-results/ (CircleCI's JUnit folder), and scripts/ci_rust.sh's $BASH_ENV branch for CircleCI.
  • Every mention in CONTRIBUTING (the CircleCI sign-up, CLI, MCP and Chunk bullets), docs/dev/reference/ci.md (the CircleCI section, its contexts and fork doorbell), docs/dev/README.md, releases.md, setup.md, vulkan-dlss.yml, website_check.sh, checks.Dockerfile and checks.sh.

Ported to .forgejo/workflows/ci.yml (every pull request and every push to main):

  • lint: pre-commit on the files changed since the PR's base (or the push's previous tip), and ShellCheck -S error on scripts/**/*.sh. Same as CircleCI's lint.
  • tests: tests/run_all.py --strict, split into 4 parts with --shard. It uses CircleCI's tools: the same apt packages, header pins, Python pins and glslang 16.6.0, plus ccache with caches saved only from main.
  • spirv-fixtures: global_load_16 (including --cas-loops), native_suatom and f2i_immediate, each built and checked with spirv-val.

They fit #2538's ci.yml. Their packages are installed through scripts/ci_apt.sh, with a monthly apt cache saved only from main. spirv-fixtures is skipped by the changes job on docs-only pull requests, the same as rust, e2e and host-windows. lint and tests always run, because many checks read docs/ and the top-level documents. scripts/ci_changes.py's docs-only list no longer mentions .circleci/.

Updated tests (not weakened): test_checks_container.py now checks the checks container against ci.yml's tests job (packages, image, pins) instead of CircleCI's test-deps-linux. test_linux_docker_packages.py, test_dev_packs.py and test_mise_build.py no longer list the removed file and task.

Not ported (already covered by Forgejo, or dropped):

  • On pull requests, CircleCI also built linux-longshot-builder, windows-longshot-builder and windows-vulkan when the builder, Linux or Windows paths changed. Forgejo builds all three on every push to main, in release.yml → build-linux.yml/build-windows.yml, but not on pull requests. A builder break now shows up on main's nightly rather than in the PR. The build jobs need the release runner, so they are not added to PR CI here.
  • The orb's commit-subjects check and its fork doorbell / ci: approved label. The title check covers the squash-merge subject, and Forgejo asks for approval before running a fork's workflow.
  • Already in Forgejo: third-party (plus the nightly upstream check), guide screenshots, rust, e2e, host-windows, website build, deploy and preview, releases, vulkan-dlss.

General dev-tooling cleanup: I checked every file under scripts/ for references in this repo, LongshotLauncher and Beanstalk. All of them are still used, and #2286 had already removed the old builder's Python. Every scripts/ path and mise run task the docs name exists. So nothing else was deleted.

Read first: .forgejo/workflows/ci.yml (the lint, tests and spirv-fixtures jobs), then docs/dev/reference/ci.md.

Testing

Tested: No game run: this changes only CI, docs and tests, and nothing the game runs. Locally: actionlint passes on every workflow, ShellCheck passes on the scripts touched, and the edited Python byte-compiles. I also evaluated the new regexes in test_checks_container.py against ci.yml and the Dockerfile by hand: packages, image and pins all match. The test suites were not run on this PC.

Still to test:

  • Forgejo CI on this PR: the new lint, tests (4 parts) and spirv-fixtures jobs pass on an ubuntu-24.04 runner, expecting all green (by hand: read the run).

Measurements

Nothing to measure: CI, docs and tests only; nothing the game or the builder runs changes.

Risks

  • The 4 tests parts and spirv-fixtures now run on every PR and every push to main on ubuntu-24.04, which adds load on the runners. lint runs on the quick runner and fetches the pre-commit hooks (gitleaks bootstraps Go) the first time.
  • Builder build regressions are caught on main's nightly instead of in the PR (above).
  • A revert brings back CircleCI's config; no player notices anything.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (nothing the game runs changes)
  • mise run test passes (any failure that also fails on main is named). Not run: no test suites run on this PC. The new tests job in CI is where it runs.
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary CI was half on CircleCI and half on Forgejo Actions. This removes CircleCI completely, so Forgejo Actions is the only CI. Three checks only ran on CircleCI before, and they now run in Forgejo's `ci.yml`. **Removed** - `.circleci/` (setup, shared jobs, events, fork doorbell, path mapping, Smarter Testing suite). - `.chunk/config.json`, the config for CircleCI's Chunk CLI (remote sidecar). Also the `ci:smoke` mise task, which only Chunk ran. `tests/test_run_all_junit.py` still runs in `run_all.py`. - From `mise.toml` and `mise.lock`: `circleci-cli`, and `conftest`, which only the orb's policy check used. - The manual `circleci-config-validate` pre-commit hook, `.gitignore`'s `test-results/` (CircleCI's JUnit folder), and `scripts/ci_rust.sh`'s `$BASH_ENV` branch for CircleCI. - Every mention in CONTRIBUTING (the CircleCI sign-up, CLI, MCP and Chunk bullets), `docs/dev/reference/ci.md` (the CircleCI section, its contexts and fork doorbell), `docs/dev/README.md`, `releases.md`, `setup.md`, `vulkan-dlss.yml`, `website_check.sh`, `checks.Dockerfile` and `checks.sh`. **Ported to `.forgejo/workflows/ci.yml`** (every pull request and every push to main): - `lint`: pre-commit on the files changed since the PR's base (or the push's previous tip), and ShellCheck `-S error` on `scripts/**/*.sh`. Same as CircleCI's `lint`. - `tests`: `tests/run_all.py --strict`, split into 4 parts with `--shard`. It uses CircleCI's tools: the same apt packages, header pins, Python pins and glslang 16.6.0, plus ccache with caches saved only from main. - `spirv-fixtures`: global_load_16 (including `--cas-loops`), native_suatom and f2i_immediate, each built and checked with `spirv-val`. They fit #2538's `ci.yml`. Their packages are installed through `scripts/ci_apt.sh`, with a monthly apt cache saved only from main. `spirv-fixtures` is skipped by the `changes` job on docs-only pull requests, the same as `rust`, `e2e` and `host-windows`. `lint` and `tests` always run, because many checks read `docs/` and the top-level documents. `scripts/ci_changes.py`'s docs-only list no longer mentions `.circleci/`. **Updated tests (not weakened):** `test_checks_container.py` now checks the checks container against `ci.yml`'s `tests` job (packages, image, pins) instead of CircleCI's `test-deps-linux`. `test_linux_docker_packages.py`, `test_dev_packs.py` and `test_mise_build.py` no longer list the removed file and task. **Not ported (already covered by Forgejo, or dropped):** - On pull requests, CircleCI also built `linux-longshot-builder`, `windows-longshot-builder` and `windows-vulkan` when the builder, Linux or Windows paths changed. Forgejo builds all three on every push to main, in `release.yml` → `build-linux.yml`/`build-windows.yml`, but not on pull requests. A builder break now shows up on main's nightly rather than in the PR. The build jobs need the `release` runner, so they are not added to PR CI here. - The orb's `commit-subjects` check and its fork doorbell / `ci: approved` label. The title check covers the squash-merge subject, and Forgejo asks for approval before running a fork's workflow. - Already in Forgejo: third-party (plus the nightly upstream check), guide screenshots, rust, e2e, host-windows, website build, deploy and preview, releases, vulkan-dlss. General dev-tooling cleanup: I checked every file under `scripts/` for references in this repo, LongshotLauncher and Beanstalk. All of them are still used, and #2286 had already removed the old builder's Python. Every `scripts/` path and `mise run` task the docs name exists. So nothing else was deleted. Read first: `.forgejo/workflows/ci.yml` (the `lint`, `tests` and `spirv-fixtures` jobs), then `docs/dev/reference/ci.md`. ## Testing **Tested:** No game run: this changes only CI, docs and tests, and nothing the game runs. Locally: actionlint passes on every workflow, ShellCheck passes on the scripts touched, and the edited Python byte-compiles. I also evaluated the new regexes in `test_checks_container.py` against `ci.yml` and the Dockerfile by hand: packages, image and pins all match. The test suites were not run on this PC. **Still to test:** - Forgejo CI on this PR: the new `lint`, `tests` (4 parts) and `spirv-fixtures` jobs pass on an `ubuntu-24.04` runner, expecting all green (by hand: read the run). ## Measurements Nothing to measure: CI, docs and tests only; nothing the game or the builder runs changes. ## Risks - The 4 `tests` parts and `spirv-fixtures` now run on every PR and every push to main on `ubuntu-24.04`, which adds load on the runners. `lint` runs on the `quick` runner and fetches the pre-commit hooks (gitleaks bootstraps Go) the first time. - Builder build regressions are caught on main's nightly instead of in the PR (above). - A revert brings back CircleCI's config; no player notices anything. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. (nothing the game runs changes) - [ ] `mise run test` passes (any failure that also fails on `main` is named). Not run: no test suites run on this PC. The new `tests` job in CI is where it runs. - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore(ci): remove CircleCI and its Chunk config; Forgejo runs the checks it ran
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
Website / Website preview, build (pull_request) Has been skipped
Website / Website preview, upload (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 15s
PR description / Description follows the template (pull_request_target) Successful in 20s
CI / Workflow lint (actionlint) (pull_request) Successful in 26s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 26s
Third-party parts / As their notes say (pull_request) Successful in 30s
CI / Lint (pre-commit, ShellCheck) (pull_request) Failing after 32s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 4m19s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 4m23s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 4m43s
CI / Website build and checks (pull_request) Failing after 30s
CI / Game-free checks (run_all.py, part 3/4) (pull_request) Failing after 5m23s
Website / Website builds (pull_request) Failing after 39s
CI / Game-free checks (run_all.py, part 4/4) (pull_request) Failing after 2m53s
CI / Game-free checks (run_all.py, part 2/4) (pull_request) Failing after 7m24s
CI / Game-free checks (run_all.py, part 1/4) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
df213060c0
CircleCI's config (.circleci/), the Chunk CLI's (.chunk/), the circleci-cli and conftest
pins, the ci:smoke task and the manual circleci-config-validate hook are gone, with every
mention in the docs, scripts and tests. ci.yml now runs what only CircleCI ran: lint
(pre-commit on the changed files, ShellCheck on scripts/), tests/run_all.py --strict in
4 parts, and the SPIR-V fixtures. tests/test_checks_container.py compares the checks
container with ci.yml's tests job instead of CircleCI's test-deps-linux.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member

Possibly related, for context:

  • issue #1412 ci: CircleCI's setup-main stays pending on every main commit since Nov 15 17:57 UTC, so no checks run and no gate posts — Open report about CircleCI checks remaining pending; this removes CircleCI.
Possibly related, for context: - issue #1412 ci: CircleCI's setup-main stays pending on every main commit since Nov 15 17:57 UTC, so no checks run and no gate posts — Open report about CircleCI checks remaining pending; this removes CircleCI.
HumanBean force-pushed push-possqqzoqxlu from df213060c0
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
Website / Website preview, build (pull_request) Has been skipped
Website / Website preview, upload (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 15s
PR description / Description follows the template (pull_request_target) Successful in 20s
CI / Workflow lint (actionlint) (pull_request) Successful in 26s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 26s
Third-party parts / As their notes say (pull_request) Successful in 30s
CI / Lint (pre-commit, ShellCheck) (pull_request) Failing after 32s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 4m19s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 4m23s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 4m43s
CI / Website build and checks (pull_request) Failing after 30s
CI / Game-free checks (run_all.py, part 3/4) (pull_request) Failing after 5m23s
Website / Website builds (pull_request) Failing after 39s
CI / Game-free checks (run_all.py, part 4/4) (pull_request) Failing after 2m53s
CI / Game-free checks (run_all.py, part 2/4) (pull_request) Failing after 7m24s
CI / Game-free checks (run_all.py, part 1/4) (pull_request) Has been cancelled
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
to 9d17e5825b
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
CI / What the change needs (pull_request) Successful in 24s
CI / Conventional Commit title (pull_request) Successful in 26s
CI / Workflow lint (actionlint) (pull_request) Successful in 45s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 45s
CI / Lint (pre-commit, ShellCheck) (pull_request) Failing after 57s
Third-party parts / As their notes say (pull_request) Successful in 55s
CI / Website build and checks (pull_request) Failing after 32s
CI / Game-free checks (run_all.py, part 3/4) (pull_request) Failing after 2m37s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 1m12s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 49s
CI / Game-free checks (run_all.py, part 2/4) (pull_request) Failing after 6m24s
CI / Game-free checks (run_all.py, part 4/4) (pull_request) Failing after 8m47s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 8m20s
CI / Game-free checks (run_all.py, part 1/4) (pull_request) Failing after 10m52s
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Successful in 5m53s
PR description / Description follows the template (pull_request_target) Failing after 18s
2026-11-25 17:15:26 +00:00
Compare
HumanBean changed title from WIP: chore(ci): remove CircleCI and Chunk; Forgejo runs the checks only CircleCI ran to chore(ci): remove CircleCI and Chunk; Forgejo runs the checks only CircleCI ran 2026-11-25 17:27:30 +00:00
HumanBean deleted branch push-possqqzoqxlu 2026-11-25 17:28:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
MagicBeanDev/Longshot!2548
No description provided.