Developers began by using AI coding tools to complete individual tasks. Now those tools can write entire modules and services independently, far faster than a person can. While this speed is a benefit, AI-generated code left unchecked means more incidents and a harder job resolving them – which puts an organization’s resilience at risk.
Engineers cannot review every line of AI-generated code. AI tools generate code faster than human engineers can keep up with, so they have to decide what needs human review and what is safe to ship unchecked. The challenge arises when AI-generated code is built from components that no single person has fully mapped. That makes it hard to assess the downstream impact of any change, and change is where most trouble starts. For years, Google’s Site Reliability Engineers have estimated that around 70% of incidents are caused by changes to live systems, so not knowing what a deployment will affect puts resilience directly at risk.
“While this speed is a benefit, AI-generated code left unchecked means more incidents and a harder job resolving them – which puts an organization’s resilience at risk.”
To take back control of code quality, organizations need clear guidelines on which code always requires human review and which code AI can be trusted to manage autonomously. That is the first step towards resilience. The next two are measuring it in terms the business understands and learning from every incident.
Many organizations measure how quickly they recover from incidents through mean time to resolve (MTTR). That shows recovery speed, but not what an incident cost or whether it will happen again. As AI increases the volume of change, and with it the number of incidents, executives will want to know the extent of the damage and the likelihood of recurrence, and engineers need metrics to show both.
“Many organizations measure how quickly they recover from incidents through mean time to resolve (MTTR). That shows the speed of recovery, but not what an incident cost or whether it will happen again.”
These metrics show what incidents cost the business, financially and in the strain on developers. They also show which types of incidents keep coming back. They include:
Investment in resilience is highest where revenue is growing. PagerDuty research found 82% of revenue-growing organizations are increasing their operational resilience budgets, compared with 62% of those with flat or declining revenue.
Of the four metrics above, recurring incident rate shows whether an organization is actually learning. If the same problems keep returning, post-incident reviews are not doing their job. Yet fewer than half of organizations use these reviews to learn from what went wrong.
“Engineers who fear blame hide mistakes, and a review built on hidden mistakes cannot prevent a repeat.”
Reviews only work if they lead to action. They need to be shared and read, their fixes built into product roadmaps, and every action given an owner and a deadline. They also need to be fully blameless, focusing on why something happened rather than who caused it. Engineers who fear blame hide mistakes, and a review built on hidden mistakes cannot prevent a repeat. Remove the blame and engineers can collaborate on optimizing processes, allowing them to prioritize improving resilience over finding who broke what.
The ability to recover from incidents matters just as much as the speed at which code ships. Organizations that adopt AI-driven development without simultaneously investing in resilience are shipping risk they cannot assess.
Speed and resilience go hand in hand when three things are in place: a clear boundary between the code humans review and the code AI manages autonomously, metrics that show the business what resilience is worth, and post-incident reviews that lead to action.
With all three, organizations keep AI’s speed without risking resilience.