CI shared queue - everyone waits
A shared CI queue processes all build and test requests in a single pool of runners, regardless of their source or priority.
- ·Build uses default tool configuration (Maven/Gradle defaults, npm scripts without optimization)
- ·Full rebuild runs on every change (no incremental build support)
- ·Build completes (even if slowly)
- ·CI runs builds on a shared queue (even if everyone waits)
Evidence
- ·Build configuration file with default/untuned settings
- ·CI logs showing full rebuild on every PR
What It Is
A shared CI queue processes all build and test requests in a single pool of runners, regardless of their source or priority. A human developer's critical pre-merge PR check sits behind 20 agent-generated experimental branches. A release build competes with a batch of AI-generated refactoring candidates. When CI runners are fully occupied, everything queues. Wait times grow from seconds to minutes to tens of minutes, and the team learns to avoid pushing code during busy periods.
This was an acceptable tradeoff when CI load was predictable and primarily human-generated. Developers pushed code a few times per day, and CI capacity could be sized to keep queue times under 5 minutes. AI agents break this model entirely. A single developer running 3-5 parallel agents can generate 10-20x more CI runs per day than before. A team of 20 developers each running 3 agents can saturate a CI cluster that was sized for 20 humans.
The queue contention problem has two distinct failure modes. The first is latency: human developers wait longer for CI feedback on their PRs because agent runs are occupying the queue. The second is throughput: agent iteration loops slow down because agents can't get CI feedback quickly enough to iterate at their natural speed. Both failure modes feed each other - slower CI feedback means agents and humans pile up more work in the queue, making queue times even longer.
The shared queue is a fair resource allocation mechanism when all requestors have similar priority and frequency. AI agents change both variables: they have lower priority than release-blocking human work, and they have much higher frequency. A shared queue that treats all requests equally will systematically deprioritize the high-value work (human pre-merge checks) in favor of the high-volume work (agent iteration).
Why It Matters
- Agent CI frequency is 10-50x human CI frequency - a shared queue that worked for humans will saturate when agents use the same pool, even with the same number of developers
- Queue wait time directly limits agent iteration speed - an agent waiting 15 minutes for CI feedback cannot iterate faster than once per 15 minutes, regardless of how capable the agent is
- Human developers bear the cost of agent queue saturation - when agents fill the CI queue, humans experience longer PR feedback times, which degrades their experience with AI tooling and creates org friction
- The problem is invisible until it's critical - CI queue times creep up gradually as agent usage increases, and teams don't notice until developers start manually canceling and re-queuing builds
- Separation is cheap relative to the cost of contention - dedicated runner pools for agent workloads cost more in infrastructure but less in developer time lost to waiting
Getting Started
6 steps to get from here to the next level
Common Pitfalls
Mistakes teams actually make at this stage - and how to avoid them
How Different Roles See It
Bob's team leads are reporting that PR review cycles have gotten longer. Developers push a PR, wait for CI, and the wait has gone from 5 minutes to 20 minutes. Bob initially assumes CI capacity is insufficient and considers adding more runners. He doesn't realize that agent runs from his AI-enabled developers are filling the shared queue.
What Bob should do - role-specific action plan
Sarah has added CI wait time to her DevEx dashboard and is seeing it trend upward as agent adoption increases. Developers are starting to associate "AI tooling" with "slower CI" - the opposite of the intended outcome. She needs to address this perception before it becomes a barrier to agent adoption.
What Sarah should do - role-specific action plan
Victor runs 5 parallel agents and generates more CI runs in a day than the rest of his team combined. He's already noticed the queue problem and worked around it by scheduling his agent sessions for off-peak hours. This works but limits when he can effectively use agents.
What Victor should do - role-specific action plan
Further Reading
5 resources worth reading - hand-picked, not scraped
Build System