Guides
How to control matrix explosion
A small matrix change tripled the job count and the bill.
4 min read
A small matrix change tripled the job count and the bill.
Why it happens
Adding one dimension multiplies rather than adds.
How to fix it
- Test the full product nightly and a representative subset on pull requests
- Use include for the specific combinations that matter
- Alert on job count per workflow so growth is visible
Your next build could be twice as fast, at half the price
Start free. Migrating away is the same one line, and we publish that diff too.
Related
How to scale self-hosted runnersSelf-hosted runners either queue at peak or sit idle and expensive.How to use runner groupsAny repository can schedule jobs on any runner.How to design a runner label strategyLabels grew organically and nobody knows which to use.Hosted or BYOC: how to chooseYou are unsure whether to use hosted runners or deploy into your own cloud.