- All playbooks
- Unnecessary work
- Prepare only the worker and fixture graph a focused test consumes
Prepare only the worker and fixture graph a focused test consumes
Narrow preparation removes compilation and setup work that the selected tests do not use.
Company examples
How OpenClaw used this technique
Read what OpenClaw changed and follow the original sources.
Prepare only the worker and fixture graph a focused test consumes
Narrow preparation removes compilation and setup work that the selected tests do not use.
Median wall time for the focused test fell from 56.36 to 48.42 seconds, and median peak memory from 6.30 to 3.27 GiB, on one Linux host. Source
- Use it when
- A focused test prepares the full fixture worker graph although its cases only use production runtime workers.
- Before applying it
- The test selects the runtime preset by name, so it must stay aligned with the workers its cases use. Worker verification, supervision and disposal checks remain intact.
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