A mid-century style illustration of an old stone and timber bridge over a canyon, carrying an endless line of identical cream delivery trucks, with every crack in the bridge glowing orange.

Your Pipeline Was Always Broken. Agents Run It Enough to Prove It.

By Derek Neighbors on December 3, 2026

A builder I talked with last week has a team pushing about a hundred pull requests a day. Agents write the code, agents review it, and every PR runs a ten-minute build through their CI pipeline, usually more than once. Their code host has an outage of some kind nearly every day now. “We need a new system” has gone from a complaint to a plain statement of fact. The agents already retry around the outages on their own, and the next wall they hit is the spending cap on the build service.

The easy response, and one I hear from leaders a lot right now, is to slow the agents down until the tools catch up.

I get why that sounds reasonable, and I think it is wrong. From what he described, that platform was never reliable. By broken I mean a pipeline that fails at a steady rate per run, or has a limit it will hit at higher volume, whether or not anyone has run it often enough to notice. At two deploys a day, its failures showed up rarely enough to feel like bad luck. At a hundred PRs a day, the same failures show up every few hours, and now they look like a crisis. For the most part, the agents ran the pipeline enough times to show the team what it already had.

The Symptoms

When a team’s throughput jumps, the complaints all sound like new problems:

  • “GitHub is down again.”
  • “The agents broke CI.”
  • “Runners are backed up, my build has been queued for forty minutes.”
  • “We hit the spend cap and everything stopped.”

Each one arrives with the agents, so each one gets blamed on them. People start remembering the old pace fondly. Back then the build was green, the queue was empty, and the bill was boring.

The old pace never tested any of it, though. A system that fails rarely and a system that rarely gets used look the same on a dashboard.

The Assessment

Before you blame the agents or the vendor, answer four questions with numbers.

What is the failure rate per run? Most teams track failures per day, because that is how they feel. Per day hides the cause. Divide failed or flaked runs by total runs, last quarter and this month. If the rate per run is flat while failures per day went up twenty times, nothing got worse except your volume. If the rate per run did go up, look at what the agents added. Tests written by agents can be flaky too, and that is a harness problem, which you fix with rules for how agents write tests while they keep running at full speed.

How busy are the runners? Pull the share of each hour the runners spend working. If it sits above 80 percent through the afternoon, the queue is your problem, and the queue math below explains why.

How many retries did the agents do that nobody saw? Agents retry. Ask them, or read their logs, for how many builds they reran, how many pushes they repeated, and how many API calls hit a rate limit and waited. That count is the most honest health report your pipeline has, and on most teams nobody is reading it.

What is the spend ceiling protecting? Someone set that number when a hundred builds was a busy week. Find out who, and what they were afraid of.

The Diagnosis: Why AI Agents Expose a Broken Pipeline

Frequency turns rare failures into daily ones

Say your build fails for reasons that have nothing to do with the code in one run out of two hundred. A network blip, a test that depends on timing, a package mirror that hiccups. At two deploys a day with a couple of builds each, that is four runs a day, and you see the failure about once every fifty days. Somebody reruns it, shrugs, and forgets.

Now run a hundred PRs a day, each built three times as the agents push fixes. That is three hundred runs. The same one-in-two-hundred failure now hits about one and a half times a day. The rate did not move at all, but the team now sees it every day.

  Human pace Agent pace
Builds per day about 4 about 300
Failure rate per run 1 in 200 1 in 200
How often the team sees it about once every 50 days about 1.5 times a day

I wrote about the small problems teams learn to live with in Small Problems Last Longer Because They Never Hurt Enough to Fix. Volume flips that around. A problem that never hurt enough at four runs a day hurts plenty at three hundred, so agent volume forces a fix you should have made years ago.

Queues fall apart near full

The backed-up runners have a different cause, and you can work it out on a napkin. In the simplest queue model, the average time a job waits is the busy share divided by the idle share, times the length of one job. At 50 percent busy, a build waits about one build length. At 80 percent, four. At 90 percent, nine. With ten-minute builds, a runner pool at 90 percent busy makes each build wait an hour and a half before it even starts.

Donald Reinertsen spends a good part of The Principles of Product Development Flow on this, and it surprises most people who run software teams. A pool at 90 percent busy is full, and a full queue feels broken to everyone waiting in it. Human teams rarely pushed a pool past half busy, so they never saw the curve bend.

Agents cover up the damage by retrying

People flag a broken build, complain in Slack, and somebody eventually fixes it. Agents retry and move on. That is the right behavior for getting work done, and it means the failure rate can climb for weeks while the merge rate looks fine. Every retry is also a build you pay for. That is how the spend ceiling turns into the next outage.

The spending cap was set for human pace

A cap sized for human volume will stop an agent team mid-week. It is the same failure as the queue and the flaky runs: a limit picked for one pace, then left in place when the pace changed by a factor of fifty.

So the root cause is one thing. Your tools were sized, configured, and priced for the number of times humans used to touch them. That number is gone, and it is not coming back. The tools did not size themselves, either. Someone on your team picked the runner count and the cap, and every week the team leaves them alone, it is choosing them again.

The Treatment: Build the Pipeline for Agent Volume

Slowing the agents treats the symptom by bringing back the pace that hid the disease. You keep the old tools, throw away the speed you paid for, and the same failures are still there for whenever you speed up again. I would rather fix the pipeline.

Sort the problems before you start. Runner capacity, how the harness behaves, and the budget rules belong to you, and you can change all of them this month. A vendor’s outages are outside your reach, and the job there is to design around them so one bad day at the vendor does not stop your agents.

  1. Make retries visible. Have the agents report every retry, rerun, and rate-limit wait into one place, with a count per day. Put that number on the dashboard next to merges. If retries go up and merges stay flat, the pipeline is getting worse, and now you can see it.
  2. Put retries in the harness on purpose. Michael Nygard’s Release It! has the patterns: timeouts on every outside call, backoff on retries, circuit breakers that stop calling a service that is down. Put them in the harness so every agent gets the same behavior, instead of each agent guessing on its own. Keep the promises in the harness and let the model do the work inside them.
  3. Run the pipeline with room to spare. Size runners so the afternoon peak sits under 70 percent busy. Runners cost far less than an hour of queue wait on a hundred PRs.
  4. Stand up the second system next to the first. The builder’s team was looking at a forge migration that would take months to argue through. The faster move is two weeks of running a second forge or runner pool in parallel, sending a share of the agents’ work through it, and comparing failure and wait numbers. You make the call on real data instead of opinions, and you can back out cheaply.
  5. Turn the ceiling into a budget. Replace the hard stop with a cost per merged change and an alert when it drifts. A hard stop halts the whole factory mid-week, while an alert that says retries doubled your bill gives you a day to go find out why.

The Prevention

The volume will keep climbing. Every quarter the agents get faster and cheaper, and every quarter the team hands them more. Plan the tools for next quarter’s volume.

Load test the toolchain at ten times today’s volume once a quarter. Fire a day’s worth of synthetic PRs at the code host and the runners on a Saturday and watch what breaks first. Whatever fails at ten times today’s load is the next thing to fix.

Give the pipeline its own error budget, the way Google’s SRE teams give one to production services. Pick a per-run failure rate and a queue wait you will accept, give the number an owner, and treat a breach like an outage.

I made a related argument in Big PRs Used to Be a Smell. Agents Broke the Premise.: the rules we built for human pace stop fitting once the work moves at machine pace. PR size was one of those rules. Pipeline capacity is another, and it costs more when you leave it alone.

Diagnostic Questions and a Challenge

  • What is your build failure rate per run, not per day, this month versus last quarter?
  • How busy are your runners at 3 p.m.?
  • How many retries did your agents do last week, and who read that number?
  • When was the spend ceiling on your build service last changed, and what volume was it set for?
  • If volume doubled next month, which part of the toolchain fails first?

Here is the challenge. Before Monday, pull last week’s retry count from your agents’ logs and put it next to your merge count. If you have never looked, I would bet the retry number is bigger than you expect. Then pick one piece of the pipeline to run in parallel for two weeks instead of arguing about it.

Final Thoughts

A tool is only as good as its record under the work it has to do now, and most pipelines were never tested against today’s job. Two deploys a day made a weak pipeline look healthy, because nothing ran often enough to fail where anyone could see it. Agents changed the count, and the count showed you what was already there: failures per run that never moved, queues sized for a pace you left behind, and a spending cap written for a team that no longer exists.

You can slow the agents until the old tools feel reliable again, or you can rebuild the tools for the pace you have now. The first choice gives up the speed and keeps the problems. Build the harness for machine throughput, measure what the agents are retrying around, and the outages that were always there finally get fixed.

If you want a room full of builders who are running into these same limits and fixing them, MasteryLab is where we compare notes.

Frequently Asked Questions

Do AI agents break CI pipelines?

Usually not. Agents raise the number of builds a team runs by ten times or more, so failures that used to show up once every few weeks now show up every day. A failure rate of one run in two hundred appears about once every fifty days at four runs a day and about one and a half times a day at three hundred runs a day. The pipeline had the problem before the agents arrived.

Why do CI queues get so slow when agents open more pull requests?

Queue wait time grows sharply as a system gets close to full. In the simplest queue model, the average wait is the busy fraction divided by the idle fraction, times the length of one job. At 50 percent busy, a build waits about one build length. At 90 percent busy, it waits about nine. A ten minute build can sit for an hour and a half before it starts.

Should you slow down AI agents when your build system can't keep up?

No. Slowing the agents hides the problem and gives up the speed you paid for. Measure the per-run failure rate and the retries the agents are already doing, give the pipeline spare capacity, put retries and timeouts in the harness on purpose, and stand up a second runner pool or forge in parallel for a short trial instead of debating a migration for months.

Practice Excellence Together

Ready to put these principles into practice? Join our Discord community for daily arete audits, peer accountability, and weekly challenges based on the concepts in this article.

Join the Excellence Community