
AI coding agents produce changes faster than a pipeline built for human pace can check them. Here's where each kind of check belongs.

CI becomes a bottleneck with AI coding agents because agents produce changes faster than a pipeline built for human pace can check them. The way out is to sort checks by where they belong: rule checks on each change run in the agent loop, builds and integration tests run in CI, and slow suites run on a schedule.
What changes when agents write the code?
A developer used to open a few pull requests a day. One developer running four or five agents in parallel can open dozens, and every push starts the full pipeline.
A recent thread on r/vibecoding asked builders how they keep CI from slowing them down and what they spend on it. The replies describe the same pattern again and again. People move to local or self-hosted runners and batch their pushes to keep GitHub Actions minutes under control. One builder ran so many parallel Claude Code sessions that the test runs started stepping on each other and the machine froze.
The most detailed reply came from someone running more than 10,000 tests who keeps a full CI run under 10 minutes. Even with that discipline, their setup slows to a crawl whenever the merge queue backs up.
Why does a backed-up merge queue double your CI load?
When changes arrive in a steady trickle, each agent rebases onto main, runs CI once, and merges with a fast-forward. When several agents finish at the same time, that stops working.
The first change merges. Every other change is now out of date, so it has to rebase and run CI again before it can merge. Under load, every change goes through CI twice: once to finish the work, once to merge. The backlog grows faster than it clears.
Some teams answer this with speculative merges, testing A, A plus B, and A plus B plus C in parallel on the assumption that most will pass. That helps, but failures get harder to untangle. A simpler lever comes first: stop sending CI the failures it never needed to see.
Which checks belong in the agent loop?
Any check that can judge a single change on its own belongs where the change is written. That covers hard-coded secrets, forbidden dependencies, missing security headers, unsafe patterns, and your own conventions for the stack.
One commenter in the thread made this argument about static analysis tools such as clang-tidy and valgrind. The problems they find appear at the moment of change, so the agent making the change should own them, and CI only needs to run them periodically.
The cost difference is large. A rule failure that reaches CI costs a full round trip: push, wait in the queue, build, test, read the log, fix, push again. In a backed-up queue it can also cost a second run for every change behind it. The same failure caught while the agent is still editing the file costs seconds, and the agent fixes it before anything is committed.
Which checks belong in CI?
CI should run the checks that are only true once changes are combined. Builds, unit and integration tests against the merged result, and end-to-end tests that need shared infrastructure all belong here.
Code that has already passed its rule checks in the agent loop arrives clean on those rules, so CI spends its minutes on these tests.
Which checks can run on a schedule?
Slow suites that rarely catch regressions can move off the per-commit path. Builders in the thread run memory analysis, fuzzing and red-team suites daily or on specific triggers, such as changes to auth, database code or new API endpoints.
Check | Where it runs | Why |
Secrets, forbidden dependencies, security headers, stack conventions | Agent loop, as the file is written | Judged on one change, fixed before commit |
Build, unit and integration tests | CI, on every merge candidate | Only true for the combined code |
End-to-end tests on shared infrastructure | CI, sharded by size | Needs the full system |
Long suites, fuzzing, memory analysis, red teams | Scheduled, or triggered by sensitive paths | Expensive, rarely the first to fail |
How do you make the CI part faster?
Once CI only runs what belongs there, the usual build engineering pays off. Builders in the thread mentioned:
Caching build outputs and test results against unchanged inputs, so a frontend change doesn't retest the backend. Bazel does both.
Reusing worktrees, so checkout and dependency installs don't repeat on every run.
Fast NVMe disks and faster linkers, because linking is often the slowest step in a build.
Replacing real sleeps with synthetic time, and fixing flaky tests with proper ordering instead of longer waits.
Splitting large test groups evenly, so one shard doesn't hold up the rest.
What happened when we ran checks in the agent loop on our own code?
Quality Clouds' engineering team runs Norma on its own repositories. In the 12 weeks to late November 2026, 10 of our developers ran 17,028 checks from their editors, mostly through Claude Code, on 7,555 files across 27 repositories. Weekly volume grew from about 300 checks to about 2,800 as more of the team connected Norma.
Norma found 13,427 issues while the code was being written, 3,025 of them high severity.
Of the issues in files that have since merged, 90% (8,163 of 9,061) were fixed before merge. The merge scan on the branch confirmed each fix.
Repositories where at least 60% of merged files were checked in the editor first had 2.3 issues per 100 merged files reach the branch. Repositories with no editor checks had 7.1, about three times as many.
Every issue fixed in the editor is one CI never had to find. The repositories differ in stack and age, so read the last comparison as a pattern from one engineering team, not a controlled study.
Where does Norma fit?
Norma is an AI code governance product from Quality Clouds that checks AI-generated code against your standards in the IDE and in pull requests. It covers the agent-loop layer in the table above.
Livecheck runs Norma's checks on the file being worked on and returns any issues immediately. Agents call it through the Norma MCP server from Claude Code, Cursor, Windsurf, Lovable, Replit, Codex and other MCP clients, and developers get it in VS Code through the Norma extension. The agent sees the issue and fixes it before the commit.
Checks are deterministic. The same code gets the same verdict every time. For an agent, that matters: a check that changes its answer between runs sends the agent into a retry loop, which is the same waste you are trying to remove from CI.
The GitHub App reviews each pull request and posts the result as a review comment. It covers code that never went through an agent with Norma connected, such as a contractor's branch or a team that hasn't adopted MCP. It comments and does not block a merge. Blocking is what Quality Gates or a pipeline step are for.
Full Scan runs the checks across the whole repository and adds AI-based findings on questions a senior engineer would ask. Findings appear in the Norma app.
The audit record stores every check call and the actions agents report back, so you can show who checked what and when.
Norma does not make your builds, tests or linker faster. That work stays with your CI setup. What Norma changes is how many rule failures reach CI in the first place.
Norma covers JavaScript, TypeScript, Python, PHP and Dart, with rulesets for React, Node, Vite, FastAPI, SQLAlchemy and Supabase. It has a permanent free tier. See how Norma works.
FAQ
Does running checks in the agent loop replace CI?
No. CI still has to validate the combined code with builds, integration tests and end-to-end tests. Agent-loop checks only remove the rule failures that never needed a full pipeline run to be found.
How long should a CI run take when agents write the code?
There is no standard figure. One builder in the r/vibecoding thread keeps a full run of more than 10,000 tests under 10 minutes. A short run matters less than avoiding repeat runs, because a backed-up merge queue can double the number of runs per change.
How do I cut GitHub Actions costs for vibe coding projects?
Batch your pushes instead of pushing every commit, run jobs only for the paths that changed, cache builds and dependencies, and consider self-hosted runners for heavy suites. Catching rule failures in the agent loop also removes runs that would only have failed. GitHub explains how Actions minutes are billed in its billing documentation.
Does Norma block pull requests from merging?
The Norma GitHub App posts its review as a comment on the pull request and needs only read and write access to pull requests. It cannot push code or merge. Pass or fail conditions are set with Quality Gates or as a step in your pipeline.
Which languages does Norma check?
Norma checks JavaScript, TypeScript, Python, PHP and Dart, and detects the stack automatically without a config file. It works with repositories on GitHub and Bitbucket.
Is Norma free?
Norma has a permanent free tier, not a time-limited trial. Paid plans are listed on the Norma pricing page.

Albert Franquesa
Co-Founder & CSO, Quality Clouds
Related articles
Stay ahead of the curve

Services Is the New Software: Why the GSI AI Race Demands Unified Governance

K.C
5 min read
Why GSIs need one governance layer for human and AI-generated code to win the enterprise AI race.

What Is AI Code Governance?

Albert Franquesa
10 min read
The goal is trust: know what goes into production and be able to prove it. The six guarantees AI code governance has to deliver.

How do I build the (with AI)? Let me count the ways

Ignacio Sales
11 min read
Seven ways to build on ServiceNow with AI, three places the code lands, and where Quality Clouds for ServiceNow checks each one.