Repository navigation
Build the macOS release binaries on macos-latest - #2059
Merged
Merged
Conversation
GitHub retired the macos-14 runner image on 2026-11-02. Both macOS legs of the Release build matrix were pinned to it, so the 5.1.0 release run failed in one second with "The configuration 'macos-14-arm64-us-default' is not supported" and the run was cancelled before the tag job. Use macos-latest, the label ci.yml builds and tests on for every PR and the same -latest convention as the Linux and Windows legs of this matrix. The x86_64-apple-darwin leg still cross-compiles from the arm64 runner. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Review feedback: the incident date belongs in the commit history, and "about two years" misstated how long a pinned image lives. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PR SummaryLow Risk Overview Both Apple matrix entries ( Reviewed by Cursor Bugbot for commit 58edfb3. Configure here. |
Tanmay Singla (Tanmay182003)
approved these changes
Nov 11, 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.
Why
The 5.1.0 Release run (43055050241) failed in one second on both macOS legs with:
GitHub retired the
macos-14runner image on 2026-11-02 (changelog).release.ymlwas the only workflow still pinned to it, and the last release (5.0.1, 2026-10-13) predates the retirement. The run was cancelled before thetagjob, so nothing was tagged or published.What changes
Both macOS legs of the Release build matrix (
aarch64-apple-darwin,x86_64-apple-darwin) move frommacos-14tomacos-latest. That is the labelci.ymluses and the same-latestconvention as the Linux and Windows legs of this matrix. Thex86_64-apple-darwinleg still cross-compiles from the arm64 runner.Verification
A
dry-run: truedispatch of this branch'srelease.yml(version gate and build matrix only;tag,github-release,cargo-publishandnpm-publishare skipped): run 43057194305. It ran on the first commit; the second commit only shortens a YAML comment. Result: success. All 14 targets built, includingaarch64-apple-darwinandx86_64-apple-darwinonmacos-latest, and the four publish jobs were skipped.Review findings not fixed here
/code-review highfound no correctness bug. Three findings are left for a decision outside this unblock:x86_64-apple-darwincross-compile in particular, runs only on release day, so a runner image change is found mid-release. A scheduled dry-run dispatch would catch it earlier. Not added here: it is a new recurring CI cost and belongs in its own PR.macos-latestcan change Xcode and SDK without a commit here. Kept because the other 12 targets already build onubuntu-latest/windows-latest, and the minimum macOS version of the binaries comes from rustc's per-target default, not from the runner. The alternative is to pinmacos-15and bump it before each retirement.ubuntu-22.04on purpose for old-distro coverage. They will need the same bump when that image is retired; nothing lints for it today.🤖 Generated with Claude Code