Run Free Tests shards on 16-core runners to cut about a minute (GST-3303) (#4600)

Free Tests now runs its shards on 16-core Ubicloud runners with eight
test workers each, up from 8-core runners with four. In two trial runs
this took about a minute off the slowest shard; the first five pull
request runs after it lands are the real check.

This is part of making pull request CI faster. Splitting the slowest
test file (#4588) is what made the bigger runner pay off; before that
split, the same trial saved only 16–22 s.

Nothing to do. If the first five pull request runs save less than 45 s
on the slowest shard job, this gets reverted.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-21 08:06:12 +00:00
1 parent 6cac5ab34c
commit 09bd0fad0f
4 files changed
+13 -8

No files matched your search

+1 -1
View File
@@ -321,7 +321,7 @@ describe('free-tests workflow wiring', () => {
const workflow = Bun.YAML.parse(source) as any;
const planner = workflow.jobs['free-plan'];
const plan = planner.steps.find((step: any) => step.id === 'plan');
expect(workflow.env.FREE_SUITE_RUNNER).toMatch(/^ubicloud-standard-(2|4|8)$/);
expect(workflow.env.FREE_SUITE_RUNNER).toMatch(/^ubicloud-standard-(2|4|8|16)$/);
expect(workflow.env.FREE_SUITE_SHARDS).toMatch(/^[1-9][0-9]?$/);
expect(planner.outputs.runner).toBe('${{ steps.plan.outputs.runner }}');
expect(workflow.jobs['free-suite']['runs-on']).toBe('${{ needs.free-plan.outputs.runner }}');