ci: retire self-hosted A1 runner, move all jobs back to GitHub-hosted#1947
Conversation
Drop the moq-dev self-hosted ARM runner everywhere and run CI/release on GitHub-hosted runners again, reverting the #1793 migration. - check.yml: ubuntu-24.04-arm unconditionally (was self-hosted with a fork fallback); remove the per-step runner.environment guards. - cachix.yml: build aarch64-linux on ubuntu-24.04-arm; drop the self-hosted PATH/substituter conditionals. - release-rs/js/py + update-flake: back to ubuntu-latest with the Nix installer; drop the persistent CARGO_TARGET_DIR and login-shell shims that only made sense on the box. - Delete .github/actionlint.yaml (existed only to whitelist the `nix` label). - rs/justfile: drop the stale "4-core A1" / persistent-target comments. Also remove the dead DeterminateSystems/magic-nix-cache-action from check.yml and smoke.yml. It was sunset upstream (now requires FlakeHub registration and fails every Nix job with a nag annotation) and was already dropped in #1769; it crept back via the self-hosted fallback and the #1871 smoke workflow. The Nix store comes from cache.nixos.org for free (prebuilt devShell) and Rust is cached by Swatinem/rust-cache, which is retained. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Sorry @kixelated, you have reached your weekly rate limit of 2500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
💤 Files with no reviewable changes (2)
WalkthroughAll GitHub Actions workflows drop self-hosted Nix runner configurations in favor of standard GitHub-hosted runners ( 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Retire the moq-dev self-hosted ARM (Oracle A1) runner and run all CI/release jobs on GitHub-hosted runners again. This reverts the #1793 migration that moved the Nix workflows onto the box.
check.ymlself-hosted(forks →ubuntu-24.04-arm)ubuntu-24.04-arm, dropped the fork conditional and allrunner.environmentif:guardscachix.ymlself-hostedubuntu-24.04-arm(coverage kept), removed the PATH/substituter conditionalsrelease-rs.ymlself-hosted+ persistentCARGO_TARGET_DIRubuntu-latest+ nix-installerrelease-js.ymlself-hostedubuntu-latest+ nix-installerrelease-py.ymlself-hostedubuntu-latest+ nix-installerupdate-flake.ymlself-hosted+ owner guardubuntu-latest+ nix-installerARM is kept where arch matters (
check, since the A1 was ARM so trusted PRs already ran on ARM; and theaarch64-linuxcachix leg) using GitHub's GAubuntu-24.04-armrunners. The arch-independent publish jobs go back to their originalubuntu-latest.Also deleted
.github/actionlint.yaml(it only existed to whitelist thenixrunner label) and cleaned the stale "4-core A1" / persistent-target comments out ofrs/justfile.Caching: dropped dead
magic-nix-cacheWhile restoring the pre-self-hosted caching, removed
DeterminateSystems/magic-nix-cache-actionfromcheck.ymlandsmoke.yml. It was sunset upstream (now gated behind FlakeHub registration, failing every Nix job with a "FlakeHub registration required" annotation) and was already deliberately dropped in #1769; it crept back via the self-hosted fallback and the #1871 smoke workflow.It added near-zero value here: the devShell is all prebuilt nixpkgs + rust-overlay binaries, so
cache.nixos.orgcovers the Nix store for free, and Rust is cached bySwatinem/rust-cache(retained). This matches the proven post-#1769 setup.Notes for reviewers
main.~/work/ociOpenTofu config) is a separate teardown — this PR only removes the repo's use of the runner.devbranch may still reference the self-hosted runner in its workflow files until this propagates via a main → dev merge.smoke.ymlpassactionlint.(Written by Claude Opus 4.8)