Repository navigation
CI: Fall back to other macOS runners when one is not acquired - #669
Closed
albert-steinhof wants to merge 4 commits into
Closed
albert-steinhof wants to merge 4 commits into
albert-steinhof wants to merge 4 commits into
Conversation
Generate SHA256SUMS.txt plus a .sha256 file per zip in the macOS job, include them in the CI artifacts and the job summary, attest build provenance for the release zips, and upload all checksum files to the GitHub release alongside the binaries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WB1L24sLVsB1pbh1hUZh3i
CI: Publish SHA256 checksums and build provenance with releases
The macOS XCODE5 build was cancelled with "The job was not acquired by Runner of type hosted even after multiple attempts" because GitHub's macOS arm64 runners were short on capacity. The macOS jobs in Build and Analyze now try macos-latest first. If that job does not succeed, they fall back to macos-26, macos-15, macos-26-intel and macos-15-intel in that order. Each fallback only runs if no earlier job succeeded. A result job fails if none of them did, so a real failure still turns the run red. The macOS artifact and release uploads overwrite files left by an earlier failed attempt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WB1L24LAX3ADTZfTgzmZ53
Resolve the build.yml conflict with #1: the SHA256 checksum, attestation and release upload steps move into the shared macos-steps anchor so every fallback runner runs them, and the id-token/attestations permissions are part of macos-permissions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WB1L213BE9JhHD1A7YMQo4
Contributor
|
We would rather not run CI on random OS version, so it is better to fail than to succeed on something we do not know about. |
Contributor
Author
I opened another PR so it no longer runs on macos-latest: #670 |
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.
The macOS XCODE5 build was cancelled with "The job was not acquired by Runner of type hosted even after multiple attempts" because GitHub's macOS arm64 runners were short on capacity.
The macOS jobs in Build and Analyze now try macos-latest first. If that job does not succeed, they fall back to macos-26, macos-15, macos-26-intel and macos-15-intel in that order. Each fallback only runs if no earlier job succeeded. A result job fails if none of them did, so a real failure still turns the run red. The macOS artifact and release uploads overwrite files left by an earlier failed attempt.
This fixes an error when for example the macOS-latest runner is overloaded and fails to take the action, to fall back to the next one that is not busy and can take that action.