| AI coding has made CI a bottleneck, so we reworked ours to keep up(linear.app) | |
| 310 points by julian_digital 22 days ago | 384 comments | |
tl;dr: Linear reworked their CI pipeline to handle AI-accelerated code output, cutting PR wait time from 6+ minutes to just over 5 despite quadrupling their test suite. Key changes included switching to faster third-party runners and tsgo, removing TypeScript dependencies from lint rules, trimming critical-path jobs (sparse checkouts, scoped pnpm installs, prebuilt CI images), and parallelizing Vitest into 8 shards with opt-in non-isolated execution. The Vitest change alone cut monthly CI costs ~17%, and consolidating small checks saved another ~12% in runner-minutes. | |
HN Discussion:
| |