AI makes code writing cheap and CI/CD a bottleneck

How AI is increasing our productivity but causing CD friction.

Nov 24, 2026 by Ellie Fairholm

beamops

cicd

github


At Goatmire we were talking to someone about CD. They asked us what the cutting edge technologies in CD were these days. A typically nerdy question, apt for a tech conference. I felt my answer was a bit disappointing when I said that we tend to just keep things simple and use GitHub Actions.

They said that their company did the same thing (albeit with GitLab) but that they find CD annoying because now that everyone is using AI, the number of PRs being created has spiked, and so keeping a branch up to date with the latest merged changes has become a constant chore and is slowing down their feature deployment time.

This is something that we have been seeing too. We’ve made a PR that gets reviewed and passes the CI tests, but then someone merges into main and so our branch is out of date with main, so we have to rebase and get a new review. And the more developers you have, and the more work being produced, the more of a pain this becomes.

Unfortunately, we didn’t really have a particularly clever response at the time when we were talking to them about this at Goatmire. The best we could come up with on the spot was essentially:

Well, that’s better than piling up your deployments and deploying multiple features at once.

Which is true. But it didn’t feel like the whole answer, so I’ve been thinking about a proper solution that actually works.

Merge Queues

Merge queues are a GitHub feature (although GitLab has the same thing but called a merge train) that takes the onus of rebasing off the developer, and instead handles that itself. Rather than you having to manually keep your branch up to date, GitHub can take your change and test the state that would actually be merged into main.

In other words:

current main
     +
your change
     ↓
candidate
     ↓
CI
     ↓
merge

But aren’t we just trusting our tests?

Yes. This is probably the biggest caveat. A merge queue doesn’t somehow know that your application works. It knows that the checks you configured passed and that’s it.

If your tests are rubbish and you don’t have proper coverage, then a merge queue definitely isn’t for you (…yet!). Similarly, if your tests all pass while your application is broken, the merge queue will happily tell you that everything is green. If this is your case though, I think you have a different problem than just AI is outpacing your delivery capability. But I digress. Essentially, to use merge queues, you need good tests. And, there isn’t really a shortcut around this.

AI makes this more important

But as AI is trending in the way that it is, and unfortunately a lot of non-technical minded CEOs (and inexperienced CTOs) are going full throttle with AI and policing their developers to make sure they are blindly using it, we need to keep up with testing all of this code we produce.

Previously, perhaps the limiting factor was how quickly we could implement something. Now it might be how quickly we can review it, test it, integrate it and deploy it.

We don’t want AI-assisted development to result in this:

AI writes code
     ↓
more PRs
     ↓
more branches
     ↓
more rebasing
     ↓
more conflicts
     ↓
more manual testing
     ↓
more things waiting to deploy

That would be depressing and unproductive. Instead, we should be embracing automation and our feature lifecycle should look more like this:

AI writes code
     ↓
small PR
     ↓
automated checks
     ↓
review
     ↓
merge queue
     ↓
deploy

Making deployment boring

AI is changing the way we write software at a pretty incredible pace, and we shouldn’t fight against it. As more automation is brought into the code writing process, more automation should also be brought into the deployment process.

We should be looking at the bottlenecks that AI introduces and asking ourselves how much of that friction we can automate away. If we’re producing code faster, we need to be able to test it, review it, and deploy it faster too. A lot of that comes down to making better use of the automation we already have available to us.

TLDR: we basically need to embrace automation across the entire software lifecycle.

That’s it from us this week. Thanks for reading, and catch you in the next one. 💜