Skip to content

Bump MacOS CI to macOS-13 #2579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 27, 2023

Conversation

Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Nov 24, 2023

Okay, so here's some context.
We've been running our macOS tests on macOS-12 (not to confuse with macOS-m1 tests, which use a self-hosted runner)
It seems the macOS-12 has become very flaky between the 15.11.2023 and 29.10.2023 versions.
As GitHub runners only guarantee the major versions of the image running on the runner node, it seems there's 2 kinds of nodes in the flock:

https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
macOS-13 seems to be tagged as a beta release as of the time of this PR, but I suspect it should get promoted to stable soon.
For the purposes of our CI, it seems to be a lot more stable than macOS-12.
The flakiness detected in this PR (electron-userland/electron-builder#7137, as noted by @MaciejG604) actually happens on macos-12 as well.

TL;DR bumping to macOS-13 seems to be the way to go, even though it's still considered to be in beta.

@Gedochao Gedochao force-pushed the maintenance/pin-macos-version branch from 7f2f3ff to bcbaab4 Compare November 24, 2023 12:52
@Gedochao Gedochao changed the title Pin MacOS CI to macOS-12/20231029.1 Bump MacOS CI to macOS-13 Nov 24, 2023
@MaciejG604
Copy link
Contributor

I've added a flaky label, let's see the results.
The case of ejecting the disk with the hdiutil command seems to fail randomly electron-userland/electron-builder#7137

We could add a work-around, similar to the one that fixesdthe issue linked above, to https://github.com/VirtusLab/scala-packager

@Gedochao Gedochao marked this pull request as ready for review November 27, 2023 09:06
@Gedochao Gedochao force-pushed the maintenance/pin-macos-version branch from 2683236 to 65ab599 Compare November 27, 2023 09:20
Copy link
Contributor

@MaciejG604 MaciejG604 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Gedochao Gedochao merged commit 4dfdf69 into VirtusLab:main Nov 27, 2023
@Gedochao Gedochao deleted the maintenance/pin-macos-version branch November 27, 2023 10:58
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.

2 participants