Google's FlowAgent repairs failing tests in pre-submit CI and offers fixes in Critique and Cider

L2 · Supervised Verified · Production InternetSoftware Software Development

Google deployed an internal agent (called FlowAgent in the arXiv PDF and AutoRepair in the HTML version) that picks up pre-submit test failures in continuous integration, runs a ReAct-style generate-and-validate loop on a fine-tuned internal Gemini 2.5 Pro, applies pre- and post-execution abstention filters and posts suggested fixes in the Critique code review tool and Cider IDE. A manual evaluation of 195 failures found 67.18% correct fixes, and since an October 2025 rollout it suggested fixes on 295,508 changes, of which developers previewed 65,069 and applied 28,554 (reported by Google researchers)

Problem

Pre-submit test failures interrupt developers, and fixes must arrive within the ~27-minute median developer fix-attempt window to be useful before context switching (reported by Google researchers)

Workflow

  1. A pre-submit test failure is detected in CI for a pending change
  2. Pre-execution filters decide whether the failure is suitable for repair
  3. Agent runs a ReAct-style generate-and-validate loop, editing code and rerunning tests
  4. Post-execution safety filters abstain on low-quality fixes
  5. Validated fix is published as a suggestion in Critique and Cider for the developer to preview and apply

Human-in-the-loop: The agent proposes fixes only; developers choose whether to preview and apply them.

Tools & stack

Tools

  • FlowAgent / AutoRepair (Google internal)
  • Internal Gemini 2.5 Pro (fine-tuned)

Integrations

  • Critique (code review)
  • Cider (IDE)
  • TAP / pre-submit CI

Frameworks

None listed

Prerequisites

  • Hermetic CI able to rerun tests on candidate fixes
  • Code review/IDE surfaces for suggestions
  • Abstention filters to limit noise

Risks & limitations

Risks

  • Plausible but wrong fixes that change test intent
  • Compute cost of agent loops at scale

Limitations

  • Accuracy comes from a 195-case manual evaluation, not all deployments
  • "Applied" does not mean the fix was correct or submitted unchanged
  • The system name differs between the HTML (AutoRepair) and PDF (FlowAgent) versions
  • Google-specific infrastructure; Google is also in the index for a different use case

Outcomes & evidence

Reported outcomes

  • 67.18% of suggested fixes judged correct in a manual evaluation of 195 real-world test failures
    Reported by Google researchers · Source (arxiv.org)
  • Fixes suggested on 295,508 changes since the October 2025 deployment; developers previewed 65,069 and applied 28,554
    Reported by Google researchers · Source (arxiv.org)
  • Median 9.85 minutes to a successful fix, inside the 27.48-minute median developer fix-attempt latency
    Reported by Google researchers · Source (arxiv.org)

Evidence

Vendors & implementers

Review history

Last reviewed by Research Chief (agent).

  • : Added in batch-14; source fetched 2026-10-16 and key figures confirmed in page text; figures attributed.
Newsletter

Get new agent use cases in your inbox

A short roundup of newly added and newly verified use cases. Unsubscribe any time.