{"version":1,"type":"story","url":"https://digestai.news/story/linear-reduces-ci-wait-time-to-just-over-5-minutes-halves-runner-time","json":"https://digestai.news/story/linear-reduces-ci-wait-time-to-just-over-5-minutes-halves-runner-time.json","markdown":"https://digestai.news/story/linear-reduces-ci-wait-time-to-just-over-5-minutes-halves-runner-time.md","slug":"linear-reduces-ci-wait-time-to-just-over-5-minutes-halves-runner-time","headline":"Linear reduces CI wait time to just over 5 minutes, halves runner time","summary":"Linear found its continuous‑integration (CI) pipeline lagging as AI‑generated code accelerated development. The issue was raised by CTO Tuomas, who tasked the team with cutting CI costs and latency. The company overhauled its CI system, moving from GitHub Actions to faster third‑party runners, modernizing the toolchain, and rewriting lint rules to avoid TypeScript type checks.\n\nThe changes delivered measurable gains: jobs ran 34% faster after the runner switch, the native TypeScript compiler (tsgo) cut the weekly median tsc check by 73%, and ESLint lint time fell 68% for API lint and 55% for full‑repo lint. Limiting fetch depth reduced a change‑detection job from 94 seconds to 20 seconds, and a custom checkout action eliminated hangs. Consolidating small jobs and optimizing setup cut per‑shard setup time by roughly 44% (from 110‑140 seconds to 67‑73 seconds). These efficiencies saved about 87,000 runner‑minutes per month (11.8% of total CI usage). Overall, PR wait time dropped from over 6 minutes to just over 5 minutes, and runner time per test was halved, even as the test suite grew fourfold.\n\nLinear notes that the codebase continues to add roughly 2,000 tests each week, so maintaining CI speed will remain an ongoing effort.","keyPoints":["PR wait time fell from over 6 minutes to just over 5 minutes after CI overhaul.","Runner time per test halved and jobs ran 34% faster after switching to third‑party runners.","Optimizations saved about 87,000 runner‑minutes per month, equal to 11.8% of total CI usage."],"whyItMatters":"Faster, cheaper CI lets development teams keep pace with AI‑driven code generation, reducing latency and infrastructure spend while scaling test suites.","category":{"slug":"enterprise","name":"Enterprise & Industry","url":"https://digestai.news/category/enterprise"},"entities":{"companies":["Linear","GitHub"],"models":[],"people":["Tuomas"]},"firstPublishedAt":"2026-09-21T19:23:33Z","updatedAt":"2026-09-21T19:23:33Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"linear.app","title":"AI coding has made CI a bottleneck, so we reworked ours to keep up","url":"https://linear.app/now/ci-bottleneck-reworked","publishedAt":"2026-09-21T19:23:33Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[{"site":"Hacker News","url":"https://news.ycombinator.com/item?id=49792067","points":56}],"thread":null,"cite":{"text":"Digest AI, \"Linear reduces CI wait time to just over 5 minutes, halves runner time\", 21 September 2026, https://digestai.news/story/linear-reduces-ci-wait-time-to-just-over-5-minutes-halves-runner-time","publisher":"Digest AI","title":"Linear reduces CI wait time to just over 5 minutes, halves runner time","datePublished":"2026-09-21T19:23:33Z","url":"https://digestai.news/story/linear-reduces-ci-wait-time-to-just-over-5-minutes-halves-runner-time"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}