Sub-2min feedback on any change
Sub-2-minute feedback means that for any change an agent or developer makes to the codebase, the signal "this compiles and the relevant tests pass" arrives within 120 seconds.
- ·Any change gets build feedback in under 2 minutes
- ·Agent-specific build profiles exist (optimized for agent iteration patterns - fast feedback over comprehensive build)
- ·Build system understands agent iteration patterns and pre-caches likely next builds
- ·Build profiles are auto-selected based on invoker (agent vs. human vs. CI)
- ·Pre-caching hit rate exceeds 70% for agent iterations
Evidence
- ·Build duration dashboard showing sub-2-minute feedback for all change types
- ·Agent-specific build profile configuration
- ·Pre-cache hit rate metrics for agent iteration patterns
What It Is
Sub-2-minute feedback means that for any change an agent or developer makes to the codebase, the signal "this compiles and the relevant tests pass" arrives within 120 seconds. This is not just a fast CI pipeline - it's a systemic property achieved by combining incremental builds, targeted test selection, dedicated agent CI capacity, and pre-warmed execution environments. The 2-minute threshold is not arbitrary: it's the feedback speed at which agent iteration loops become self-sustaining rather than blocked on infrastructure.
The 2-minute target applies to the full loop: agent makes a change, commits, pushes, CI starts, runs affected compilation and tests, reports result, agent reads result and decides next action. Every second in this loop is latency that the agent cannot use productively. At 2 minutes total loop time, an agent can make 30 iterations per hour. At 10 minutes total loop time, it can make 6. The difference is 5x, which at the scale of 50 parallel agents compounds into the difference between a productive agent fleet and an expensive waiting room.
Achieving sub-2-minute feedback consistently - at p95, not just p50 - requires addressing every component of the feedback loop. Build time is one component. CI queue wait time is another. Test selection (running only relevant tests instead of the full suite) is a third. Test execution time itself is a fourth. Artifact download and upload times are a fifth. Each component needs to be below roughly 20-30 seconds for the total to come in under 2 minutes, with meaningful safety margin for variance.
The pattern that delivers sub-2-minute feedback reliably is: pre-warmed CI runners (eliminate cold-start latency), remote build cache with 90%+ hit rate (eliminate redundant compilation), targeted test selection running only tests affected by the changed targets (reduce test execution time), and dedicated agent CI capacity (eliminate queue wait time). This combination is achievable at L4 with investment in infrastructure.
Why It Matters
- Agent iteration rate is directly proportional to feedback speed - every second under 2 minutes translates to more iterations per agent per hour, compounding across the fleet
- Sub-2-minute loops change agent behavior - agents with fast feedback naturally make smaller, more focused changes; agents with slow feedback batch larger changes, increasing the probability of errors
- Human developers get the same benefit - sub-2-minute CI feedback for pre-merge checks dramatically improves human developer experience; it's not only an agent optimization
- The threshold separates "agents can iterate freely" from "agents must batch work" - above 2 minutes, agents start to optimize their changes to minimize CI runs; below 2 minutes, they can iterate as freely as the problem requires
- Demonstrates infrastructure maturity - achieving sub-2-minute feedback consistently signals that the team has solved the foundational build and CI infrastructure problems, which is a prerequisite for autonomous agent workflows
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 has been running agents at scale for 9 months and has seen good results, but his team is consistently running below the theoretical productivity ceiling. Agents are iterating at 8-12 cycles per hour when the infrastructure could theoretically support 30+. Bob suspects build infrastructure but doesn't have the data to confirm.
What Bob should do - role-specific action plan
Sarah has a p50 feedback time of 55 seconds but a p95 of 6 minutes. The tail is caused by two things: occasional CI queue saturation during peak hours, and cache-miss builds that hit slower code paths. She wants to narrow the distribution.
What Sarah should do - role-specific action plan
Victor is already achieving sub-2-minute feedback at p99 for his own agents. His setup: pre-warmed runners with custom images, BuildBuddy remote execution with 93% cache hit rate, affected-targets-only test selection, and a dedicated agent CI pool with auto-scaling up to 20 workers. His p99 feedback time is 85 seconds.
What Victor should do - role-specific action plan
Further Reading
5 resources worth reading - hand-picked, not scraped
From the Field
Recent releases, projects, and discussions relevant to this maturity level.