coding brokers writing most, if not all, of the code that’s used for various purposes, the bottleneck has moved from writing code to different duties associated to coding.
One of many most important different bottlenecks is reviewing the output of code, i.e., going by means of the applying to assessment the updates which were added to make sure the brand new code really does what it’s speculated to do. Nonetheless, one other activity that I’ve observed is changing into increasingly more of a bottleneck is CI/CD and dealing with GitHub and deployments.
That is undoubtedly a problem I’ve struggled with personally. When I’ve quite a lot of brokers working in parallel making an attempt to get the code into improvement or manufacturing on the identical time, it may be a problem to make all of the brokers work successfully with one another. On this article, I’ll cowl the strategies that I take advantage of to successfully work with a number of brokers in parallel in terms of merging and deploying code to manufacturing.

Why CI/CD has turn out to be a bottleneck
CI/CD stands for steady integration and steady supply. It principally refers back to the pipeline you’ve got from after you’ve written the code and also you wish to deploy the code. So, this consists of working quite a lot of exams, for instance, merging the code right into a improvement department or a most important department, and deploying the code.
You may think about that beforehand 80% of a coder’s time was spent writing the precise code, just because writing quite a lot of code takes quite a lot of time.
Nonetheless, now this has utterly shifted as a result of code could be written tremendous shortly now that we’ve coding brokers to write down all of the code for us. And the bottleneck has moved to different duties inside software program engineering. These are duties akin to:
- CI/CD
- Human testing
- Organizing and planning duties to be accomplished
That is undoubtedly a development. Bottlenecks shifting round to completely different duties is quite common as soon as duties turn out to be extra optimized, such because the writing of code being optimized by coding brokers. Nonetheless, now that the bottleneck has moved to, for instance, CI/CD points, we have to discover methods to attenuate that bottleneck and improve velocity in order that we are able to take advantage of out of those coding brokers.
So, the straightforward cause CI/CD has turn out to be a bottleneck is simply that different elements of programming have turn out to be simpler. And the explanation you need to care about it’s naturally that CI/CD now takes a good portion of a software program engineer’s time.
Find out how to optimize CI/CD with coding brokers
Now I’ll begin discussing completely different strategies that I take advantage of to optimize CI/CD with Claude Code. I’ll cowl the principle strategies in numerous subsections under.
Automating code evaluations
The very first thing I’ll cowl with CI/CD optimization is that code evaluations must be automated. I might argue that most often you don’t want a human assessment when merging stuff to a dev setting. That is just because a dev setting is supposed for testing in quite a lot of circumstances, and in my view, code that has been written by a coding agent akin to Claude Code and reviewed by a coding agent akin to Codex is much less prone to include bugs than if a human had accomplished your complete factor.
That is primarily based on experiences from after I’ve written code in manufacturing settings and from quantitative numbers that I’ve seen on the variety of bugs from manufacturing settings. For confidentiality causes, I can’t share these actual numbers, however you’ll simply should belief me that that is the case.
Working all the things in parallel
The second level I want to cowl might be apparent to quite a lot of you. However you need to, after all, run all the things in parallel that may be run in parallel. For instance, you’ll be able to run exams and code evaluations in parallel, and all of your exams must be run in parallel. Now, this may sound very apparent, however for those who ask your coding agent proper now to look by means of your CI/CD pipeline and see if something could be optimized by means of parallelization, there’s a fairly important likelihood for lots of you that one thing could be made much more efficient with a easy repair.
I simply urge you proper now to run the next immediate to attempt to optimize your CI/CD pipeline, which could prevent important time. It’s because you may save one or two minutes per run of the CI/CD pipeline. For instance, with exams, these exams is likely to be run a median of two to a few occasions per PR, and also you may create 30 PRs per day. From the numbers, you’ll be able to simply see that this may prevent a considerable amount of time over time.
Look by means of our CI/CD pipeline and see if something could be optimized
by means of parallelization. If there are exams or code evaluations that may be
run in parallel, I would really like you to replace the pipeline to do that in
parallel so long as it does not affect any of the standard of the CI/CD
pipeline.
Snapshot the dev department to merge to most important
One other method I lately needed to implement is snapshotting the dev department earlier than taking it to prod. A problem I began experiencing increasingly more was that after I needed to do a launch PR from dev, dev always moved, as a result of I had a lot code getting into dev always. When I’ve round 20-30 PRs getting into dev per day, the department, after all, strikes very persistently, and it’s laborious to have a static department to take to manufacturing that has additionally been examined with a human assessment.
Thus, I began implementing what I name a snapshot dev department to take into prod. This principally signifies that at any time when I wish to take dev into manufacturing, I take a snapshot of dev, take it to a brand new department, and take that department by means of Codex evaluations in order that I can assessment all code going to manufacturing directly. The code has, after all, additionally been reviewed when going into dev, however all of the code was not reviewed collectively. After which I take this snapshot department into manufacturing when it’s prepared. This enables dev to persistently replace after the snapshot has been accomplished, in order that the opposite brokers can nonetheless proceed their work even whereas code is being pulled into manufacturing.
And I discovered that this method labored rather well straight away, and it’s a easy change you’ll be able to implement proper now with a single Claude Code immediate.
Continuously optimize
The final method I wish to cowl is that you need to always optimize your CI/CD pipeline. I recommend that you just, at the very least on a weekly foundation, do a assessment along with your coding agent, for instance, your Claude Code or Codex, and assessment your CI/CD pipeline given all of the code that has been merged within the final week. It will mean you can uncover bottlenecks within the CI/CD pipeline. For instance, if code evaluations are taking too lengthy, if the Vercel deploys are failing usually, and so forth.
I urge you additionally to not solely let an agent absolutely autonomously look into the CI/CD pipeline and optimize it, however so that you can perceive what’s occurring within the CI/CD pipeline, make the coding agent clarify it to you so that you perceive the way it works and the way it may be optimized, after which have the agent implement the optimization strategies. That is vital as a result of I’ve skilled that brokers generally make sub-optimal choices, and having understanding of the pipeline your self permits you to assist the brokers make the optimum choices to maximise the effectiveness of your CI/CD pipeline over time.
Conclusion
On this article, I mentioned how one can deploy code successfully. Deploying code has turn out to be fairly completely different now that we produce a lot extra code and due to coding brokers. Whereas a earlier bottleneck was to write down the code itself, bottlenecks have now shifted from writing the code to different software program engineering duties, akin to deploying the code and the CI/CD pipeline. I believe you need to persistently be optimizing your pipeline to ensure it really works as successfully as potential, which is able to prevent a considerable amount of time when you’ve got many brokers working in parallel in the identical repository.
👉 My free eBook and Webinar:
🚀 10x Your Engineering with LLMs (Free 3-Day E-mail Course)
📚 Get my free Imaginative and prescient Language Fashions e book
💻 My webinar on Imaginative and prescient Language Fashions
👉 Discover me on socials:
💌 Substack















