How auto-approving low-risk PRs with AI cut our lead time by 74%
Blog post from Ona
Implementing an AI-driven system to automatically approve low-risk pull requests (PRs) significantly increased the efficiency of a software engineering team, reducing the median time to first approval from 2 hours 49 minutes to 3.8 minutes and cutting lead time by 74%. This transformation was achieved by allowing an AI agent to review and approve certain PRs, specifically those involving small changes with no sensitive modifications, provided they met predefined criteria. The process involved a governance model where the AI handled reviews, but a human still performed the final merge, ensuring compliance and security. Following the implementation, the team saw a 215% increase in PRs merged and deploys per week, encouraging engineers to produce smaller, focused PRs that are easier to review and ship. The success of the system underscores the importance of automated classification, clear governance, and human oversight in enhancing developer velocity without increasing team size.