Skip to content

ci: move unit tests to macos-15 - #22882

Merged
mikehardy merged 1 commit into
ankidroid:mainfrom
criticalAY:ci/macos-15
Oct 30, 2026
Merged

mikehardy merged 1 commit into
ankidroid:mainfrom
criticalAY:ci/macos-15

Conversation

@criticalAY

Copy link
Copy Markdown
Contributor

Note

Assisted-by: Opus 5.5

Purpose / Description

GitHub retires the macOS 14 runner images on 2 November 2026 and is running scheduled brownouts until then. During a brownout the macOS JUnit job is cancelled within a second, before any step runs, so unrelated PRs show a red check (i.e. #22880). After 2 November it would fail on every PR.

Fixes

Approach

Switch the unit test workflow from macos-14 to macos-15, which is still Apple Silicon, in the matrix list and the manual run options. The check keeps its "macos" name, so branch protection rules don't need changing.

How Has This Been Tested?

The macOS JUnit job on this PR is the first real run on macos-15

Learning (optional, can help others)

A job that is cancelled with no runner and no steps, and has an annotation on .github that mentions a brownout, is a GitHub runner image retirement rather than a test failure.

Checklist

Please, go through these checks before submitting the PR.

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

GitHub retires the macOS 14 runner images on 2 November 2026, and
during its brownouts the macOS JUnit job is cancelled before it starts.
macos-15 is still Apple Silicon, and the check keeps its "macos" name.

actions/runner-images#13518

Assisted-by: Claude Opus 5.5
@criticalAY criticalAY added the Review High Priority Request for high priority review label Oct 30, 2026
@BrayanDSO BrayanDSO added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels Oct 30, 2026
@mikehardy
mikehardy enabled auto-merge October 30, 2026 20:16
@mikehardy mikehardy added Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) and removed Review High Priority Request for high priority review Needs Second Approval Has one approval, one more approval to merge labels Oct 30, 2026
@mikehardy
mikehardy added this pull request to the merge queue Oct 30, 2026
Merged via the queue into ankidroid:main with commit 89e5dbe Oct 30, 2026
27 checks passed
@github-actions github-actions Bot removed the Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) label Oct 30, 2026
@github-actions github-actions Bot added this to the 2.26 release milestone Oct 30, 2026
@criticalAY
criticalAY deleted the ci/macos-15 branch October 31, 2026 04:35
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.

3 participants