Speed up CI for AI-written code: caching, faster runners, test sharding
rseroter · x · 2026-11-19
A freeCodeCamp guide shared by rseroter tackles the new bottleneck: GitHub now handles 275M commits/week (14B/year pace, up from 1B in 2025) and 2.1B GitHub Actions minutes/week (up from 500M in 2023). Coding agents open ten PRs an afternoon, turning pipelines into queues. The five fixes, in order: measure first with GitHub's built-in timing data (what feels like a slow test is often 90s of installs); cache dependencies and Docker layers with stable keys; move heavy jobs to faster runners; shard tests across a parallel matrix; and skip unneeded work via path filters, affected-only tests, and concurrency groups.
More from coding & agent
- Lunch-break demo: ChatGPT + CapCut plugin turns camera roll photos into a GTA 6-style intro video — alifcoder · 2026-11-19
- Tensor launches as an ADE for doing real work with AI, live on Mac, Windows and web — saheedniyi_02 · 2026-11-19
- Ultrafast mode review: great for math proofs, not recommended for coding — gnukeith · 2026-11-19
- Agentcard raises $8M to let agents buy from 5,000+ stores via Stripe Link — jeff_weinstein · 2026-11-19
- hstack open-sources one-command self-hosting for the Hermes agent — TheMoonMidas · 2026-11-19
- 16 AI models ran produce buying for 90 days — only 3 beat a simple reorder formula — ycombinator · 2026-11-19