Home / Companies / Sourcegraph / Blog / Post Details
Content Deep Dive

Change failure rate: What it is and how to improve it in 2026

Blog post from Sourcegraph

Post Details
Company
Date Published
Author
Matt Tanner
Word Count
3,590
Language
English
Hacker News Points
-
Summary

Change failure rate (CFR) is a crucial metric in software development, particularly within the DevOps culture, as it measures the percentage of deployments causing production failures that require remediation such as rollbacks or hotfixes. CFR, part of the DORA (DevOps Research and Assessment) framework alongside deployment frequency, lead time for changes, and mean time to recovery, provides insight into the balance between speed and stability in software delivery. The guide explains how to calculate CFR accurately, emphasizing the importance of consistent definitions of "failures" across teams to ensure meaningful data. It discusses the impact of AI-assisted development on CFR, noting that while AI can reduce simple errors, it also increases code volume, challenging review systems and potentially raising CFR. The text suggests that CFR should be treated as a signal of underlying issues rather than a direct target, advocating for smaller changes, improved code reviews, stronger testing, and enhanced code intelligence to address root causes effectively. The guide also highlights the significance of context when benchmarking CFR, noting that different industries and team structures may require varied targets, and stresses the importance of tracking internal trends over time to monitor and improve software delivery health.