Repository navigation
ci: run the full unit suite on 4 shards instead of 24 - #46799
Conversation
After the suite cut (#46786), 24 shards spent ~500s on tests but ~1,220 runner-seconds in total, since each shard pays ~30s of setup. Four shards keep the unit lane (~150s) under the package/WSL critical path (~250-270s).
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Runs the full unit suite on 4 shards by default instead of 24, now that the suite is ~400 files (#46786).
Data is from the #46786 PR run at head
6a44979b4, run 44993605720:Required follow-up (repo setting)
The repo variable
ORCA_UNIT_FULL_SHARD_COUNT=24overrides this default. Until it changes, this PR has no effect:(or
gh variable delete ORCA_UNIT_FULL_SHARD_COUNT --repo stablyai/orcato use the code default).Looked at and left alone
changesjob already scopes it. Across 10 recent PRs it used 0–185 runner-seconds. It only ran 14 jobs on test: cut the suite to the tests that guard real invariants #46786 because that PR touched everything. It is also the release orcad-template qualifier.pr.ymlDocker fixtures and the Wayland clipboard cache.Verification
bun .github/scripts/check-required-pr-context.mjs: passes.bun .github/scripts/check-pull-request-job-timeouts.mjs: passes.unit-plan.yml: clean.pnpm check:changed: passes.Performance
None, because this only changes how many CI runners the unit suite is split across; app code is untouched.