fixing playwright runner release#313
Merged
mayank-at-sauce merged 18 commits intomainfrom Mar 2, 2026
Merged
Conversation
32a0dfb to
d96bcf0
Compare
nitinkumar-saucelabs
approved these changes
Mar 2, 2026
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.
Description
What's New / Changed
The core goal of this PR is to add macOS 14 and macOS 15 support for the Sauce Labs Playwright runner. Since macOS 14+ VMs on Sauce Labs are ARM-based (Apple Silicon), the new
config field armRequired: true is set on all macOS 14/15 suites.
This is the biggest change (+48/-4). The old script did a single playwright install with a mac13 override. The new script uses a multi-step architecture-aware bundling process:
ARM64 install — Installs Chromium, chromium-headless-shell, and WebKit using mac14-arm64 override (forward-compatible with macOS 15, but not vice versa). Firefox is excluded
because both architectures share the same directory path.
Backup ARM64 Chromium — Saves chrome-mac-arm64 and chrome-headless-shell-mac-arm64 directories to a temp folder before x64 install overwrites them.
Remove INSTALLATION_COMPLETE markers — Forces Playwright to re-download x64 variants instead of silently skipping.
x64 install — Installs Chromium, chromium-headless-shell, and Firefox using mac13 override for Intel Macs (macOS 12/13).
Restore ARM64 Chromium — Copies the backed-up arm64 directories back so both architectures coexist in the bundle.
CI Runner Change (release.yml, test.yml)