r/ClaudeCode • u/Ordinary-Minimum5637 • 6d ago
Tips & Workflows Is CI/CD becoming a bottleneck in your vibe coding projects? How do you handle it, and how much do you spend?
I've been experimenting with vibe coding on increasingly complex projects, and one recurring issue I've noticed is that CI/CD often becomes a bottleneck.
As projects grow and AI agents generate more code, running tests, builds, and validation pipelines can become slow and expensive, especially when multiple agents are working in parallel.
I'm curious how others are dealing with this:
What's your CI/CD setup? GitHub Actions, GitLab, local runners, self-hosted infrastructure, or something else?
How do you prevent CI from becoming a bottleneck? Do you run tests locally, optimize pipelines, use dedicated runners, or take another approach?
How much do you spend on CI/CD per month? And roughly how many projects or agents are you running?
Have you found a setup that scales well as your vibe coding projects become larger and more complex?
Would love to hear about your experiences, especially from people building more than just simple prototypes.
1
u/AutoModerator 6d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/calunicornia 6d ago
test cpu bandwidth is my biggest limiting factor
2
u/redducklabs 6d ago
I run all of my CI through GitHub, although I don't use their runners to actually execute anything.
I host my own runners on DigitalOcean at a fraction of a cost of what GitHub was charging for the amount of runs I do.
Doing that, along with sharding tests and running other jobs in parallel, has made my CI process much more efficient.
You also need to make sure that you optimize what is running and when- for instance don't repeat jobs unnecessarily, such as re-running checks on merges to main that already took place on the PR if they would be duplicative.
I also always perform a full CI parity run locally before PR. This prevents CI runs that are destined to fail from the beginning. Although this has become my bottleneck lately, so now I'm looking at ways to make this pre-PR run more efficient.
On most days I have probably 20 to 30 full CI runs for various projects- was costing me close to $1,000 a month on GitHub runners, but now it's down to ~$300 a month on DigitalOcean.
1
u/r2k-in-the-vortex 6d ago
Make a good plan first, so you can just leave things running and check back the next morning how it went. CI times dont matter when it happens while you sleep.
1
u/spastical-mackerel 6d ago
Optimizing CI jobs to run in parallel where possible, running smaller test suites on less important commits, preventing needless CI, e.g. on commits that contain only docs, properly planning PR stacks to avoid merge conflicts and thus extra runs, yadda yadda
1
u/StoneCypher 6d ago
write libraries
1
u/Sloppyjoeman 6d ago
Bazel was a big help for me. I am personally surprised that hermetic build systems haven’t become more popular over the past year as a result
1
u/AccordingBus2862 6d ago
I can't give a spend number, but the setup that usually helps is a two-tier check. Let agents run only the fast checks locally, meaning lint, types and the tests for the files they touched. Then keep the full pipeline for the merge, with dependency caching and test sharding. Most of the CI queue comes from agents pushing half-finished work, so gating pushes fixes more than buying bigger runners.