Skip to content

ci: shard test suite across 3 parallel runners#251

Merged
brendanjryan merged 1 commit intomainfrom
ci/shard-tests
Mar 27, 2026
Merged

ci: shard test suite across 3 parallel runners#251
brendanjryan merged 1 commit intomainfrom
ci/shard-tests

Conversation

@brendanjryan
Copy link
Collaborator

@brendanjryan brendanjryan commented Mar 27, 2026

Splits the Test Runtime job into 3 parallel shards using Vitest's --shard flag and a GitHub Actions matrix strategy.

Use Vitest's --shard flag with a GitHub Actions matrix to split the
~67 test files across 3 runners. Vitest automatically balances file
distribution — no manual maintenance needed.

This should reduce the Test Runtime wall clock from ~2.5 min to ~50s
at the cost of 3x compute (3 parallel runners).
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 27, 2026

Open in StackBlitz

npm i https://pkg.pr.new/mppx@251

commit: 6a3995c

@brendanjryan brendanjryan merged commit cd3fc3c into main Mar 27, 2026
10 checks passed
@brendanjryan brendanjryan deleted the ci/shard-tests branch March 27, 2026 05:38
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.

1 participant