Migrate macOS CI/CD runners to Blacksmith

Merged
LA
6mo ago
+59-43

Summary

Switches every macOS CI job from WarpBuild (warp-macos-*-arm64-6x) and Depot (depot-macos-latest) to Blacksmith (blacksmith-6vcpu-macos-{15,26,latest}).

Workflows touched

  • ci.yml — tests, tests-build-and-lag, release-build, ui-regressions
  • build-ghosttykit.yml
  • ci-macos-compat.yml (matrix os values)
  • nightly.yml (build-sign-notarize-nightly)
  • release.yml (build-sign-notarize)
  • test-depot.yml
  • perf-activation.yml (default + choice options)
  • tmux-corpus.yml (terminal-nightly; also drops the self-hosted label)
  • test-e2e.yml (default blacksmith-6vcpu-macos-latest, keeps depot-macos-{latest,14} as fallback options on the workflow_dispatch input)

tests/test_ci_self_hosted_guard.sh updated to assert Blacksmith runners on the paid jobs from https://github.com/manaflow-ai/cmux/issues/385.

Size mapping is 1:1: every 6x WarpBuild job becomes a 6vcpu Blacksmith job. macOS 15 vs 26 preserved per job.

Test plan

  • Re-run tests/test_ci_self_hosted_guard.sh (passes locally)
  • Manually trigger ci-macos-compat.yml to confirm both Blacksmith images boot
  • Trigger nightly.yml with force=true and confirm sign+notarize completes
  • Trigger test-e2e.yml with the new default runner
  • Verify a release.yml dry run (or next real release) on blacksmith-6vcpu-macos-26

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.


[!NOTE]
Medium Risk
Touches signing/notarization, release, and nightly pipelines plus GUI perf benchmarks; misconfigured runners or the Aqua-session workaround could break macOS CI or artifact publishing until validated on Blacksmith.

Overview
Moves macOS CI/CD off WarpBuild (warp-macos-*-arm64-6x) and Depot defaults onto Blacksmith labels (blacksmith-6vcpu-macos-15, -26, -latest) across build, test, release, nightly, perf, e2e, and corpus workflows, with a 1:1 mapping from former 6x Warp jobs to 6vcpu Blacksmith jobs.

Adds .github/actionlint.yaml so actionlint accepts the new self-hosted runner labels. tests/test_ci_self_hosted_guard.sh now requires Blacksmith runners on the paid macOS jobs from issue #385 (including matrix os in compat).

perf-activation.yml changes defaults and workflow_dispatch runner choices to Blacksmith, scopes SwiftPM cache keys by runner, and runs the Cmd-Tab visibility bench inside the console user’s Aqua session via launchctl asuser so CGWindowList sees on-screen windows. test-e2e.yml defaults to Blacksmith while keeping Depot as optional dispatch choices; SPM cache keys follow the selected runner. tmux-corpus.yml terminal-nightly drops the self-hosted + Warp label pair in favor of a single Blacksmith runner.

Reviewed by Cursor Bugbot for commit a61c666ae2a7ee1f6c1eca6ae51eeaeae0701395. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • Chores

    • Standardized macOS runners to Blacksmith across CI/CD, nightly, release, build, perf, and E2E workflows.
    • Updated activation/performance and E2E workflow runner defaults and expanded available runner choices.
    • Adjusted Swift package caching and activation benchmark invocation to work with the new runner setup.
    • Added ActionLint config to recognize Blacksmith runner labels.
  • Tests

    • Updated CI guard to enforce Blacksmith macOS runners for relevant workflows.

Review Change Stack