The code is done. The pipeline is still running.

Published · Author: Stefan Priebsch

Continuous Integration was one of the most important prerequisites for agile software development. Automated builds, tests and quality checks have enabled us to change software in small steps and integrate it regularly. Instead of discovering errors only after days or weeks, we receive feedback within minutes on whether a change works or what damage it has caused.

With AI-assisted coding, however, the speed at which software is created is changing. And that also changes what we need to understand by fast feedback.

A CI pipeline that takes ten minutes was long considered quite acceptable for human developers. For a coding agent that could make, check and, if necessary, correct numerous changes in that time, ten minutes is an eternity. What was a short feedback loop for humans can become a bottleneck for AI agents.

The speed of development changes the requirements

Agile software development is great: we change something, check the result and use the feedback to decide on our next step. Do we continue in the same direction, do we need to adjust our course, or should we discard the work we have just done? The sooner we receive feedback on the code, the smaller we can keep our steps and the earlier we recognise when we are heading in the wrong direction.

Coding agents can take this approach to a new level. They can implement a small, or even a fairly substantial, change, run tests, interpret the results and immediately correct the code they have produced. Ideally, this happens in a tight loop in which every step is backed by results from trustworthy development tools. But that only works if those results are available quickly enough.

If an agent first has to commit and push code after every change and then wait for a CI pipeline, it loses a significant part of its speed advantage. Even if the implementation itself takes only a few seconds, it can take several minutes before the agent finds out whether it was correct.

Of course, the agent could continue working in the meantime. But that would mean giving up precisely what makes short feedback loops so valuable: the ability to build the next step on a result that has already been checked. We would be back to coding blind by necessity, even though we actually have quality assurance tools at our disposal.

The amount of unvalidated change would grow rapidly. When a test finally fails, the agent has to work out which of the changes made in the meantime caused it.

We have not solved the problem. We have merely increased the speed at which we produce technical uncertainty.

CI is not the problem. Depending on it is.

Continuous Integration remains indispensable in a world with coding agents. We still need to ensure that changes made by different developers and agents work together, that the overall system remains consistent and that we can deliver software that functions correctly.

However, a development we have observed in many projects has become problematic: over the years, more and more quality assurance has moved into central CI infrastructure. This includes static code analysis, architecture checks, security scans, formatting rules and other quality gates. These often run only after code has been pushed to the repository.

From an organisational perspective, this is understandable. A central pipeline provides consistent checks, controlled execution environments and traceable results. But it also creates a dependency on infrastructure that is becoming increasingly problematic for the immediate development process.

Rather than merely making our CI pipelines faster, we need to consider which checks actually need to take place in a central pipeline in the first place. Many could just as well run locally. And in the context of AI coding, there are good reasons to do exactly that.

The quality gates need to come to the agent

If we want coding agents to work reliably and largely autonomously, we need to give them the means to check their own results. An agent must be able to do more than write code. It also needs access to the tools that tell it whether that code meets the functional and technical requirements.

These include unit tests, static analysis, type checks, architecture rules and, where appropriate, integration tests. All of them must be reproducible and runnable locally without manual intervention.

This is not about creating a second quality assurance system that is independent of central CI. On the contrary: local development and CI should use the same tools and rules wherever possible.

The CI pipeline should not be the only place where we can check quality. It should confirm what has already been checked during development. Much like a frontend validates input to give users fast feedback and a better user experience, while the backend follows the rule “never trust data from another system” and, hopefully, repeats the same checks.

Technically, this means that we need to provide our quality gates as tools that can run independently. A local invocation should apply the same rules as the corresponding check in the CI pipeline. The central CI infrastructure then orchestrates these tools again in a controlled environment and adds whatever we could not reasonably run locally.

This does not transfer responsibility for quality from CI to the agent. It enables quality to be checked continuously during implementation, instead of only afterwards.

Not every test needs to run after every change

Local availability alone is not enough, though. An agent gains little if it has to run a complete test suite that takes twenty minutes after every small change. We therefore need to think more carefully about which tests make sense at which point.

After a small code change, running the directly affected unit tests and a static analysis may be sufficient. Once a coherent change is complete, further tests should follow, checking, for example, how several components interact. Extensive end-to-end tests, mutation tests or full security scans can still take place at later checkpoints.

This principle is not new. Established approaches to Continuous Integration and Continuous Delivery already distinguish between fast checks for immediate feedback and more extensive tests in later pipeline stages.

What is new is how important this distinction becomes. A human developer can read documentation, work on another task or take a coffee break while a longer test suite runs. An agent whose next step depends on the test result, however, is waiting for technical feedback. The latency of the check directly becomes the latency of its work process.

We should therefore assess tests not only by the errors they can detect, but also by how quickly they provide usable feedback. A test that detects an error within one second has a different value for a tight agent feedback loop than a test that reports the same error only after ten minutes.

This certainly does not mean we should abolish slow tests. It does mean we need to decide deliberately where, and at what point, they run.

Testability becomes a prerequisite for speed

This brings a topic into focus that has received too little attention in many organisations for years: the testability of the software architecture. If even a simple unit test requires a database, several external services and complex infrastructure, that is more than a test automation problem. It is also a sign of too many dependencies and missing architectural boundaries.

Well-structured software allows parts of the system to be tested independently. Business logic can be checked in isolation, components have clearly defined interfaces, and external dependencies can be replaced wherever they are irrelevant to the actual test.

These properties have always been valuable. Since we started using coding agents, they have gained additional economic significance.

The speed at which an agent can make changes is useful only if it can check those changes just as quickly. An architecture that makes local tests difficult therefore directly limits the productivity of agentic software development.

Conversely, clear module boundaries, low coupling and deterministic tests enable more than better maintainability. They create the conditions for agents to work in small, verifiable steps.

We need to reassess our development infrastructure

Many of our current development processes are designed to support human developers in their work. In doing so, we have made implicit assumptions about their working speed. If an implementation takes several hours, five minutes of CI runtime may barely matter. If the same implementation takes a few minutes with an agent and involves numerous internal iterations, the calculation changes.

We should therefore measure more than how quickly coding agents generate code. We also need to consider how long it takes for a change to be tested so that the agent can reliably continue. The optimisation target is the time needed to get from a requirement to a change that can be integrated reliably, rather than the number of generated lines of code or completed agent actions.

This also means consistently automating local development environments. If an agent first has to spend considerable effort configuring databases, starting services or preparing test data before it can check a change, we create unnecessary friction again.

Reproducible development environments, automated test fixtures and clear interfaces for running quality gates thus become central elements of an AI-ready development platform.

CI remains important, but its role changes

It would be a mistake to conclude from these considerations that we can dispense with central CI pipelines in future.

Local checks cannot verify every property of an integrated system. Some errors emerge only through the interaction of different components, parallel changes by other developers or differences between development and production environments.

We need an independent instance that checks whether a change actually meets the agreed quality requirements. An agent must not decide for itself which mandatory checks to skip simply because running them is inconvenient or time-consuming.

The central CI pipeline therefore remains an important part of our quality assurance. But it should not be the primary source of feedback for immediate development work.

Fast feedback becomes decisive

In agentic software development, the speed of feedback will increasingly determine how much of the agents’ theoretical productivity we actually realise.

Anyone who wants to use AI coding successfully should therefore invest in more than models, prompts and agents. Aligning our software architecture, test strategy and development infrastructure with fast, local and reproducible feedback loops is at least as important.

Ultimately, what matters is not how quickly an agent can write code. It is how quickly it finds out whether that code works as expected.