r/ClaudeCode • u/Ordinary-Minimum5637 • 10d 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.
•
u/AutoModerator 10d 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 10d ago
test cpu bandwidth is my biggest limiting factor
2
u/redducklabs 10d 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 10d 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 10d 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 10d ago
write libraries
1
u/Sloppyjoeman 10d 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 10d 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.
1
u/shrodikan 10d ago
I create draft PRs for ongoing work so agents can multitask. I have a skill /combine-prs that merge all the PRs together _then_ I run CI/CD on the aggregate branch.
1
u/asiancouple3648 10d ago
I use a ryzen 5800 minipc box that was running Windows but now dual-boots into Ubuntu to run the CIs. It about 3 times faster than github runner and it’s a fixed cost for me. I built a github runner dashboard to help me see the jobs, manage CPU (temparature, throttling), ram, diskspace (important for extended amount of time). I have a ci-light and 3 regular ci runners for full jobs so that smaller ci tasks can be done with the ci-light and then have the full suite (10-20 mins) running on the full ci runners.
This has solved my CI needs for now except for Mac and Windows build, but I’m ok with ubuntu runners for web and golang. This has a fixed cost and electricty is negligence at 100% cpu run, maybe an extra $5-10.
To upgrade I’d get a ryzen 9 box, but it costs another $800-1000 and I can wait a bit longer for my current box to work through the queue.
1
u/Dylando_Calrissian 10d ago
My setups not the craziest but getting to a degree of scale. About 15 hobby projects in a monorepo, with a shared design system library, identity service, and a few other reusable components. All-in around 700K lines of code and about 20,000 tests.
I exclusively use cloud claude code cloud sessions for development, often multiple sessions in parallel.
Majority of my CI/CD runs via precommit and pre-merge tool call hooks in Claude code. T his offloads all the CI runs and checks to run on Claude's sandboxes rather than github actions. There's relatively heavy optimisation of checks to avoid running everything every time and just run the things that are more likely to break (all controlled via the pre-commit / pre merge hook scripts).
I don't run any CI in GitHub on commits/merges, relying on the hooks in Claude code for protection.
This saves my actions minutes re for deployments - each deployment runs the full set of checks and I only do them as needed, no automated deployments on merges or anything.
1
u/argo_devbuild 7d ago
GitHub Actions is fine at this scale if you stop paying for runs nobody needs. Add a concurrency group per branch with cancel-in-progress turned on so when an agent pushes five commits in a row only the last one runs, and put paths filters on the heavy jobs so docs or config changes skip the full suite. If you're still queuing after that, the options are GitHub's larger runners or a runs-on swap to something like warpbuild or something. Spend mostly tracks how many superseded runs you let finish, so fix that before you compare vendors.
1
u/macbig273 3d ago
CI/CD has never been though to be fast, but to be trustable.
fast need optimisation and takes time.