Skip to content

CI: retry failed macos-latest runner allocations - #1612

Merged
tarcieri merged 1 commit into
masterfrom
ci/retry-failed-macos-runner-allocations
Nov 17, 2026
Merged

tarcieri merged 1 commit into
masterfrom
ci/retry-failed-macos-runner-allocations

Conversation

@tarcieri

Copy link
Copy Markdown
Member

I removed as many unnecessary macos jobs as I could in #1611 but cpufeatures and dit both test things where we really need to be on macOS. GitHub Actions continues to have trouble allocating these runners.

I cobbled together a workflow that attempts to auto-retry the runner allocation on failure from a few workflows:

It should be configured to retry 3 times for each runner allocation failure, and only for cpufeatures and dit.

I removed as many unnecessary `macos` jobs as I could in #1611 but
`cpufeatures` and `dit` both test things where we really need to be on
macOS. GitHub Actions continues to have trouble allocating these
runners.

I cobbled together a workflow that attempts to auto-retry the runner
allocation on failure from a few workflows:

- https://github.com/canonical/snapd/blob/master/.github/workflows/rerun.yaml
- https://github.com/link-foundation/links-notation/blob/main/.github/workflows/rerun-unacquired.yml

It should be configured to retry 3 times for each runner allocation
failure, and only for `cpufeatures` and `dit`.
@tarcieri
tarcieri merged commit 77d1a3e into master Nov 17, 2026
4 checks passed
@tarcieri
tarcieri deleted the ci/retry-failed-macos-runner-allocations branch November 17, 2026 18:38
@tarcieri

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant