- All playbooks
- Classify every merged pull request by the work it contains
Classify every merged pull request by the work it contains
Tag each merged change as feature, quality, maintenance or documentation work, and watch the mix as change volume grows.
How Spotify used this technique
Read what Spotify changed and follow the original sources.
Classify every merged pull request by the work it contains
Spotify classifies every merged pull request as features, code quality and optimization, maintenance, or documentation. Total merged changes more than doubled year over year in August, quality and optimization work rose from 27% of the mix to 31%, and maintenance and configuration fell from 31% to 25%. In each monthly incident review Spotify also asks whether AI-authored code contributed directly, and whether the increased volume of change put pressure on review, testing, rollout or observability.
Spotify reports that total merged changes more than doubled year over year in August, from roughly 8,100 to 17,000. Source
- Use it when
- Agents are raising the number of pull requests, and the team wants to see whether review, testing and rollout keep pace.
- Before applying it
- A classification is as good as its labels. Define the categories once and apply them to every merged change.
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