Skip to content

ci(tests): shard the macOS job like Windows#795

Merged
Chemaclass merged 1 commit into
mainfrom
ci/shard-macos-tests
Jul 14, 2026
Merged

ci(tests): shard the macOS job like Windows#795
Chemaclass merged 1 commit into
mainfrom
ci/shard-macos-tests

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

🤔 Background

The macOS CI job ran the whole suite as one monolithic sequential make test. On the resource-constrained macos-latest runner this intermittently OOM-killed (Killed: 9), hung (orphan process → 10-min timeout), or abort-trapped — turning macOS red across many unrelated commits. Every other multi-test OS (Windows) is already sharded.

💡 Changes

  • Split the macOS job into a parallel unit/functional matrix plus push-gated acceptance shards, running each with --parallel --jobs 4, mirroring the existing Windows layout
  • Fix a glob gap while porting: the c-shard now matches all c* files (Windows misses colors/completions) and the final shard is [q-z], so no test file is silently dropped
  • CI-only change; no framework code touched

The macOS job ran the whole suite as one monolithic sequential 'make
test', which intermittently OOM-killed (Killed: 9), hung (orphan process
-> 10-min timeout), or abort-trapped on the resource-constrained runner.
Split it into a parallel unit/functional matrix plus push-gated
acceptance shards, mirroring the Windows setup. The c-shard globs all
c* files and the last shard is [q-z] so no test file is dropped.
@Chemaclass Chemaclass added the enhancement New feature or request label Jul 14, 2026
@Chemaclass Chemaclass self-assigned this Jul 14, 2026
@Chemaclass Chemaclass merged commit c865575 into main Jul 14, 2026
37 checks passed
@Chemaclass Chemaclass deleted the ci/shard-macos-tests branch July 14, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant