AI Writes More Pull Requests. Our Runners Could Not Keep Up.
AI and LLMs have increased the number of pull requests and the amount of code we commit. Every pull request has to be verified with many checks. Most of our checks are quick, and each one runs on its own short-lived runner. So a lot of pods have to start and stop, and that start-up was where the time went. We moved from the legacy runners to runner scale sets, and built a runner image for our workflows, with the packages they need already inside, so the workflow files have fewer steps. Checks now start in seconds, on the same hardware.
More pull requests than ever
AI writes a lot of code now, and that code arrives as pull requests. GitHub’s own report says that agents started more than 40% of all pull requests on the platform in September 2026, up from 17% six months earlier. GitHub is reworking its platform to carry many times the load it was built for. Anthropic went further and built its own source control system, after going from about 2,500 merged changes a day to more than 30,000 in four months.
We are nowhere near those numbers. But we feel the same push. More pull requests come in every month, and each one has to be checked before it can merge: the ticket is valid, the config is correct, the tests pass, nothing protected was touched. All of that runs in GitHub Actions, on runners we host ourselves on Kubernetes.
The industry has a name for this now: verification engineering. Writing code got cheap, so proving that the code is right became the hard part. Anthropic has described how its Claude Code team checks its work, where most of the code is written by AI and people review the evidence: test results, not just the diff. Surveys say the same thing from the other side. In Qodo’s 2026 report, developers and engineering leaders both named reviewing and validating AI-written code as their biggest delivery bottleneck.
We are now all verification engineers.
For us, verification runs in GitHub Actions. The more code AI writes, the more these checks matter. And our runners were not good enough for the new load.
For about three months, developers in our largest repository opened a pull request and then watched the checks sit in “Queued”. On bad days 400 to 500 workflow runs were waiting. People re-ran the checks, which made the queue longer.
Short jobs, slow runners
At busy times every runner we were allowed was up, but only about a third of them were running a job. The rest were still starting.
Our checks are tiny. A typical one runs for a few seconds. But a new runner needed more than a minute before it could take a job.
We paid more than a minute of start-up, thousands of times a day, for jobs that ran for a few seconds.
Here is one old runner and one new runner, doing the same small check on the same clock:
1 job finished
4 jobs finished
In 83 seconds, one old runner finishes 1 job and one new runner finishes 4.
The start times are typical values from our logs. The picture changes with the length of the job. If your jobs are ten-minute builds, a slow start does not matter. If they are ten-second checks, it is almost everything.
The runner options
GitHub gives you a few ways to run a job. They fit different needs.
| Option | Who runs it | Good for |
|---|---|---|
| GitHub-hosted runners | GitHub | Most projects. Nothing to manage, you pay per minute |
| Larger runners | GitHub | Heavy builds that need more CPU, memory or a GPU. Paid plans only |
| Self-hosted runners | You | Jobs that must reach your private network, on machines you already have |
| Runner scale sets | You, on Kubernetes | Self-hosted runners that scale up and down by themselves, one fresh pod per job |
Our checks need to reach internal systems, so we host our own. A larger runner would not have helped either. Our jobs were not short of power, they were waiting for a runner to start. So we moved to runner scale sets.
The fix: faster to start
Two things: how runners are created, and what is inside them.
Runner scale sets
Our old setup was the community Actions Runner Controller. It asked the GitHub API every minute how many jobs were waiting, and each new pod had to register itself with GitHub before it could work.
Runner scale sets are GitHub’s newer design, and they work the other way round. GitHub tells us when a job is ready.
A small listener pod keeps one open connection to GitHub. When a job arrives, the controller creates a pod, the pod runs that one job, and then it is deleted. No polling, and no registration step.
The old and the new system can run side by side in the same cluster. So we could move one workflow at a time, and each move was one line:
jobs: validate: runs-on: [self-hosted, dev] runs-on: my-app-ss-devWe also keep a few runners in a warm pool for the busy repository, so a job that arrives can start immediately. Each one is replaced as soon as it is taken.
A runner image built for our workflows
The other half of the gain came from the image the runners start from. We built it around what our workflows actually do.
- Tools already inside. Python,
uv, the cloud CLIs and the actions our workflows use are in the image. Jobs no longer download them, so we removed those setup steps from the workflow files. - No Docker daemon. Our checks do not build containers, so the runner does not wait for one to start.
- No
sudo. A job cannot install system packages. It is safer, and it forces us to put what jobs need into the image.
Hover or tap a row for the reason.
From runner pod logs and job logs over one week. A range is drawn solid to its low end and lighter to its high end.
| Row | Old runner | New runner |
|---|---|---|
| Runner ready | 43 to 118 s | 8 to 9 s |
| Install uv | 38 to 40 s | 1 to 2 s |
| Install Python | 23 to 51 s | under 1 s |
| Fetch actions | 1 to 9 s | under 1 s |
| Runner self-update | up to 3 min | none |
The result: from minutes to seconds
We moved the workflows in small batches, with both kinds of runner working side by side until everything was across.
The chart follows one check, before, during and after the migration.
Hover or tap a row for what was going on. Switch the measure on the right.
GitHub Actions job data, time from queued to started, a sample of up to 80 jobs for each row.
| Row | Old runner | New runner |
|---|---|---|
| Quiet day | 84 s | none |
| Normal day | 4.1 min | none |
| Worst day | 18 min | none |
| During migration | 10 min | 10 s |
| After migration | none | 5 s |
The bars for the new runner are hard to see. Next to an 18-minute wait, 5 seconds is a thin line.
In the first full day after the migration about 4,900 jobs ran. Half of them had a runner within 2 seconds, and nine in ten within 5. At the busiest moment less than a third of the allowed runners were in use.
One caution. That day was quieter than our worst days before, so the new limit has not been tested yet.
The cost: almost nothing extra
We use the same cluster and the same size of machine as before. I do not have a before-and-after bill, but the pod count tells the story: the old setup kept 60 pods alive in every busy period, most of them only starting, and the same work now peaks at 28.
The speed did not come from more hardware. It came from no longer spending hardware on starting Docker and downloading Python.
Every tool has to keep up
AI is changing the speed of development. Code is written faster, pull requests arrive faster, and every tool between a commit and production now has to move at that speed. Source control, code review, testing, runners. Ours were built for a slower pace, and it showed.
Runners were the first place we felt it. They will not be the last.
If you have found a better way to handle this, I would like to hear it. Leave a comment below.
Comments