- All playbooks
- Parallelization and sharding
- Compress release artifacts in parallel
Compress release artifacts in parallel
Compress independent release binaries two at a time.
Company examples
How OpenAI used this technique
Read what OpenAI changed and follow the original sources.
Compress release artifacts in parallel
Codex replaced the loop that archived each Windows release binary in turn with xargs running two workers, so independent binaries compress at the same time.
Compression step: serial 121 s, 123 s, 121 s against parallel 73 s, 73 s, 74 s, three trials each on a Windows x64 release runner Source
- Use it when
- A release packaging step compresses or archives independent files one after another.
- Before applying it
- More workers compete for CPU and disk on the same runner; measure the worker count, and keep the step failing when any worker fails.
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 playbookMove a CPU-bound test suite to a faster CPU
- 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