ci: drop the macOS jobs - #435
Merged
Merged
Conversation
Removes the three macOS jobs and the now-unused provision-darwin.sh. They have never produced a signal Linux did not. Across every completed run of the three workflows (140 runs, 2026-07-27..08-26) there is not one case of a macOS job failing while its Linux counterpart passed: frontend.yml 60 runs 51 pass/pass 3 fail/fail 0 mac-only failures backend-rust.yml 40 runs 35 pass/pass 2 fail/fail 0 mac-only failures backend-motoko.yml 40 runs 38 pass/pass 2 fail/fail 0 mac-only failures Every one of the 7 real failures failed on both platforms. Coverage is preserved: each macOS job ran a command block byte-identical to its Linux counterpart (verified by hashing the `run:` bodies -- the only differences were `runs-on`, the provision script and the step name), so the surviving Linux jobs execute exactly what the deleted jobs did. macOS runners bill at 10x, and these three average 9.0 min per full CI pass, so this saves ~90 billed minutes per pass. Also drops provision-darwin.sh from the `paths:` filters of clippy.yml and backend-rust-canbench.yml, which referenced it without ever running a macOS job. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
eichhorl
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the discussion on #434. Removes the three macOS CI jobs and the now-unused
provision-darwin.sh.They have never caught anything Linux didn't
Every completed run of the three workflows (140 runs, 2026-07-27 → 08-26):
frontend.ymlbackend-rust.ymlbackend-motoko.ymlAll 7 real failures failed on both platforms. The two apparent frontend divergences were
success/cancelledandcancelled/success— artifacts ofcancel-in-progress: true, not signal.Coverage is preserved
Each macOS job ran a command block byte-identical to its Linux counterpart. Verified by hashing the
run:bodies of the non-provisioning steps before deleting:The only differences between each pair were
runs-on, the provision script, and the step name. The surviving Linux jobs execute exactly what the deleted jobs did — nothing to port over.There is also little platform-specific surface to lose. The frontend package is portable TypeScript (
@noble/*is pure JS, hashing goes through WebCrypto, IndexedDB is stubbed withfake-indexeddb); the Rust crates build towasm32-unknown-unknown. The one genuinely platform-specific component under test was thepocket-icbinary, which exercises icp-cli's portability rather than this repo's.Cost
macOS runners bill at 10×. Measured over the last 5 runs of each:
Also cleaned up
clippy.ymlandbackend-rust-canbench.ymllistedprovision-darwin.shin theirpaths:filters without ever running a macOS job. Those entries are removed along with the script.Origin, for the record
The macOS jobs were never a considered decision. They trace to
803d2ca(Feb 2025), the first frontend CI commit, which hadubuntu-24.04andmacos-15side by side from line one, and reachedfrontend.ymlvia #61 — a "merge crates and packages" refactor whose PR body isTODO description.If we want some macOS coverage back
This is 98 lines of pure deletion, so
git revertrestores it exactly. A middle option, if the concern is that a month is a short window for a rare platform regression: re-add the jobs onpushtomainplus a nightlyscheduleinstead of onpull_request. That keeps a signal for toolchain drift (provision-darwin.sh, Homebrew, the icp-cli/pocket-ic darwin binaries) at a fraction of the cost, since most runs are PR runs. Happy to do that instead if preferred.🤖 Generated with Claude Code