MarshallOfSound

#50968: ci: split macos-x64 tests into 3 shards

Merged
Created: Apr 11, 2026, 9:36:07 PM
Merged: Apr 13, 2026, 2:26:20 AM
10 comments
Target: main

The macos-x64 / test / test (darwin, 1) shard has been hitting the step timeout at high rate since 2026-04-06 — see e.g. https://github.com/electron/electron/actions/runs/24181403207 (4 consecutive timeouts on 41-x-y). Successful runs already take ~37-43 min and recent test additions plus the MacWebContentsOcclusion re-enable pushed it past the 40-min step limit on release branches.

Rather than bump the timeout, this splits macos-x64 (darwin and mas) from 2 shards to 3, matching what linux already does. script/split-tests redistributes 77 spec files from 39+38 → 26+26+25.

Net effect: macos-x64 goes from 4 → 6 test jobs ({darwin,mas} × {1,2,3}). macos-arm64 and Windows stay at 2 shards.

Notes: none

Backports

39-x-y
Merged
PR Number
#50972
Merged At
Apr 13, 2026, 2:26:29 AM
Released In
Not yet
Release Date
Not yet
40-x-y
In-flight
PR Number
#50973
Waiting to be merged
41-x-y
In-flight
PR Number
#50974
Waiting to be merged
42-x-y
Merged
PR Number
#50994
Merged At
Apr 13, 2026, 8:47:53 AM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron