Back to feed
News Story
APriority72
AI前线
1 sources

AI Agents Reshape Code Review: Rootly Abandons Small PR Rule

Rootly, an incident management platform, announced it is dropping its long-standing "small pull request" rule, as AI agents now generate most code. The company is shifting to a risk-based review approach, using an internal AI reviewer to assess the blast radius of changes. This change highlights how AI is transforming software engineering practices.

SynthePulse Insight · AI deep reading

AI Agents Rewrite Code Review: Why Rootly Abolished the 'Small PR' Rule

Version 1 · 1 source

When AI agents generate code in 'feature-sized' chunks, the traditional small pull request rule becomes a burden. Rootly's shift to risk-based review and rollback strategies sparks industry-wide rethinking of PR workflows.

  • Rootly abandons its two-year-old 'small PR' rule, moving to risk- and rollback-based code review.
  • AI agents output complete implementations in 'feature-sized' units, making small PR rules obsolete.
  • Rootly builds an internal AI reviewer that assesses changes by risk level, not lines of code.
  • Feature flags shift the safety boundary from merge to release, with review happening during progressive rollout.
  • Rewind's Diff Vader borrows Rootly's risk model, evaluating PRs by risk tags rather than line count.
  • Industry discussions suggest PR workflows may become an anti-pattern at agent speed, with cost quantification driving process normalization.
Open section navigationThe End of the Small PR Rule

The End of the Small PR Rule

Incident management platform Rootly announced it is abandoning its long-standing 'small pull request' rule. Co-founder and CTO Quentin Rousseau explained that for the past two years, the company required stacked PRs and limited atomic changes to a few hundred lines of code. This made sense when humans wrote code, as small diffs are easier to review and roll back. But AI agents have changed the game: they think in terms of 'features' rather than 'increments,' and can output complete implementations in one go, including database migrations, models, services, controllers, tests, and frontend components.

Attempts to have AI generate stacked PRs failed: while the code had no technical errors, the overall business context was worse. When reviewing a PR, comments often depended on changes in another PR, forcing reviewers to switch between pages and increasing cognitive load. The team eventually realized that the small PR rule was designed for human coding efficiency. Once AI broke through human efficiency limits, the old rule became extra overhead.

From Line Count to Blast Radius

Rootly's response was to build an internal AI code reviewer that examines each PR against engineering standards, generating a structured report with risk assessment, standardized scores, confidence scores, and issues categorized by severity. The key difference is that it doesn't act as a human reviewer but answers one question: if the change has defects, which user-facing features would break? The reviewer distinguishes changes that alter business behavior from those that only affect performance or UI, and assigns corresponding risk levels.

Rousseau emphasized that feature flags shift the safety boundary from 'merge' to 'release': every important feature is released under a feature flag, merged but disabled by default. The real review happens during progressive rollout: internal team, small customer subset, 10% of users, then all users. The team concluded: 'The size of the code change is no longer a meaningful metric; what truly matters is the blast radius of failures.'

Industry Resonance and Reflection

Rootly's view is not isolated. Backup service provider Rewind stated that its code review tool Diff Vader borrowed Rootly's risk model, arguing that PR risk is almost unrelated to lines of code, and instead assigns PRs by risk tags. At QCon London 2026, Michael Webster discussed the impact of headless AI agents on delivery pipelines, noting that large-scale PRs generated by AI create bottlenecks for human review and accumulate technical debt.

At the AI-Native Developer Conference in London in June 2026, Patrick Debois and other experts explored how PR workflows become an anti-pattern at agent speed. Debois argued that PRs make sense in open-source communities because contributors need to build trust; but within teams with shared context, when agents iterate quickly, the PR review cycle is hard to justify. AI token consumption is quantifiable, and process inefficiencies directly show up in billing costs.

A New Review Philosophy

Rootly now focuses on issues that can predict production incidents. The 'why' and 'what' in a PR are filled in by the human using the agent, with explicit instructions that AI should not generate these, to capture context: why the change, why now, and the business need. Each PR must describe a safe rollback method, including necessary data fixes.

Rousseau admitted that abandoning the small PR rule was initially uncomfortable, but it was necessary to support 'rapid delivery of reliable software.' He elaborated on the shift to production-end safety in another article. The team concluded: in the era when all code was written by humans, the small PR model was optimal; but now that AI agents deliver complete features, that model no longer applies.

Credibility boundary

This article is based on a translation by AI Front of an InfoQ report, with original information from Rootly's official blog and industry conference talks. It represents company self-disclosures and industry opinions, not independently verified.

Insight takeaway

As AI agents change how code is generated, traditional PR review rules centered on lines of code are becoming obsolete. Rootly's practice suggests that risk-based, rollback-capable, and feature-flag-driven release strategies may become the new norm, but this shift is still early and its effectiveness awaits more empirical evidence.

Primary report

AI前线

Primary source