- All playbooks
- Parallelization and sharding
- Move an independent slow step out of the long-pole job into its own parallel job
Move an independent slow step out of the long-pole job into its own parallel job
Running an independent slow step in its own job makes the critical path the longer of the two jobs, not their sum.
Company examples
How OpenClaw used this technique
Read what OpenClaw changed and follow the original sources.
Move an independent slow step out of the long-pole job into its own parallel job
Running an independent slow step in its own job makes the critical path the longer of the two jobs, not their sum.
With the job split and setup-go caching from the same PR, the Windows gate went green 12m09s after the Windows jobs started, against an 18m25s median over 20 sampled runs of the serial job. Source
- Use it when
- One required job runs a slow step that reads nothing the other steps produce, such as a stress test, a second test pass or a coverage run, and the job sets the merge wait or sits near its timeout.
- Before applying it
- Each split adds a runner per run that repeats checkout and setup; an always() aggregate job keeps the original required check name and passes only when every part succeeds.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookType-check with a native checker
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed
- Read OpenClaw’s playbookSelect only the tests and proofs a change can affect