Tools ·

Linear: AI agents turned CI into a bottleneck, so they rebuilt it

What happened

Linear published a detailed writeup on how CI became a drag once agents started writing code — test suites nearly quadrupled. They switched to third-party runners (34% faster execution), replaced tsc with the native `tsgo` compiler (73% faster type checking), cut change detection from 26 to 8 seconds, merged seven independent checks into two batch jobs (saving roughly 87,000 runner-minutes a month), and bumped test shards from 4 to 8. Result: PR wait time dropped from over 6 minutes to just above 5.

Why it matters

If Claude Code is opening more PRs a day than you can review, CI becomes your main time sink. The specific tricks in the piece (selective checkout, batch jobs, tsgo) translate fine to a small project too.

Sources

More from this brief