- All playbooks
- Store responses by route so each request reads only its response
Store responses by route so each request reads only its response
Route-specific response files keep each simulated request from rereading and parsing unrelated fixture payloads.
Company examples
How OpenClaw used this technique
Read what OpenClaw changed and follow the original sources.
Store responses by route so each request reads only its response
Route-specific response files keep each simulated request from rereading and parsing unrelated fixture payloads.
In one matched local pair, the full 101-package test case took 124.615 seconds before and 105.559 seconds after, with identical assertions and request counts. Source
- Use it when
- A test transport fixture rereads and parses one large response map for every simulated request.
- Before applying it
- Fixtures must be maintained as one file per route. Live artifact metadata and response transitions have to keep working between synchronous CLI calls.
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