Skip to content

fixing playwright runner release#313

Merged
mayank-at-sauce merged 18 commits intomainfrom
runner-release-fix
Mar 2, 2026
Merged

fixing playwright runner release#313
mayank-at-sauce merged 18 commits intomainfrom
runner-release-fix

Conversation

@mayank-at-sauce
Copy link
Contributor

@mayank-at-sauce mayank-at-sauce commented Feb 9, 2026

Description

What's New / Changed

  1. macOS 14 & 15 (ARM) Support

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.

  1. Overhauled Browser Bundling (scripts/bundle.macos.sh)

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:

  1. 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.

  2. Backup ARM64 Chromium — Saves chrome-mac-arm64 and chrome-headless-shell-mac-arm64 directories to a temp folder before x64 install overwrites them.

  3. Remove INSTALLATION_COMPLETE markers — Forces Playwright to re-download x64 variants instead of silently skipping.

  4. x64 install — Installs Chromium, chromium-headless-shell, and Firefox using mac13 override for Intel Macs (macOS 12/13).

  5. Restore ARM64 Chromium — Copies the backed-up arm64 directories back so both architectures coexist in the bundle.

  6. CI Runner Change (release.yml, test.yml)

  • Build runner changed from macos-15-intel → macos-15 (ARM GitHub runner) for both the test and release workflows.
  1. saucectl Version Pinned to v0.201.0
  • All saucectl steps (3 in test.yml, 4 in release.yml) now pin saucectl-version: v0.201.0, which is required to support the armRequired config field.
  1. Test Matrix Expanded (test.yml)
  • Both cloud test matrices expanded from [Win10, Win11, macOS12, macOS13] → [Win10, Win11, macOS12, macOS13, macOS14, macOS15].
  • WebKit excluded on macOS 13 (and already on macOS 12) — WebKit dropped mac13 support in Playwright 1.58.1.
  1. Test Fixture Configs Updated
  • config.yml / config-sc.yml — Added 6 new suites (macOS 14 + macOS 15, each with Chromium/Firefox/Webkit), all with armRequired: true.
  • config_mac.yml (post-release) — WebKit suite moved from macOS 13 → macOS 14 with armRequired: true. Added 3 new macOS 15 suites (Chromium/Firefox/Webkit) with armRequired: true.
  1. Housekeeping
  • .gitignore — Added .idea/ (JetBrains IDE config).

@mayank-at-sauce mayank-at-sauce requested a review from a team as a code owner February 9, 2026 07:01
@mayank-at-sauce mayank-at-sauce merged commit 7feddb9 into main Mar 2, 2026
72 of 74 checks passed
@mayank-at-sauce mayank-at-sauce deleted the runner-release-fix branch March 2, 2026 06:38
@mayank-at-sauce mayank-at-sauce mentioned this pull request Mar 2, 2026
4 tasks
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