- All playbooks
- Unnecessary work
- Keep full history and download old blobs on demand
Keep full history and download old blobs on demand
Change detection often needs commit history and filenames, not old file contents.
Company examples
How Mastra used this technique
Read what Mastra changed and follow the original sources.
Keep full history and download old blobs on demand
Seven full-history checkouts gained filter: blob:none while retaining fetch-depth: 0. History stays complete, and old blobs download on demand.
The PR reports transfer falling from 1,572 MB to 189 MB, about 88% fewer bytes. Source
- Use it when
- Checkout transfer dominates jobs that compare names or trees across commits.
- Before applying it
- Lazy blob reads still need network access and appropriate credentials.
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