-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Re-add Safari render test job in the CI #12613
Conversation
The CodeBuild is failing because its Node version is incompatible with the required Node version for
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! How did you trace the timeouts to the brew update thing? Seems pretty unrelated at first...
That was pretty random, actually. I just wanted to try if disabling updates would help with timeouts without switching to Apple Silicon, and it did. At least the timeouts are not reproduced for several runs. |
63da1fb
to
a14cfcf
Compare
Disabling homebrew updates doesn't help with Safari timeouts. I've switched the |
The timings look nice, looks very fast! Let's land this if timeouts don't seem to happen. BTW, I wonder what the costs will be with this — if one sequential render test job runs faster than 3x parallel Intel jobs, maybe we should switch the Chrome/Mac ones as well (removing parallelization too) and the cost will be offset by less time in the executor? |
Currently, we are using the default macOS resource class, There is some issue with the Safari render tests in CircleCI, but the job duration with the M1 resource class goes down from 15min to 5min approximately. So I assume we'd spend a bit more on CircleCI if we switched to |
@stepankuzmin so in summary, M1 is 5x more expensive but 3x faster, so we'd pay about 1.5x more. Seems fair to me for the benefit of faster CI times. |
56edb33
to
b350fcc
Compare
31a0540
to
7bc896a
Compare
After several more runs, some Safari render tests might still be flaky due to the issue with the missing tiles. However, the same applies to the other browsers, so I think we are good to merge. |
Noted that sometimes,
|
Disabling homebrew updates helped to eliminate the Safari timeouts, so re-adding them. At first, I tried to run Safari render tests on Apple Silicon in CircleCI, but it seems to work on the Intel chip with disabled homebrew updates for 6 consecutive runs.
Launch Checklist
mapbox-gl-js
changelog:<changelog></changelog>