Telling Failures Apart: Fault Injection, Failure Diagnosis and AI Code Changes
Year: 2026
Type: preprint
Abstract: When something a system depends on fails, the people who run it work out what failed from what it reports: error codes, log lines, stored state, HTTP status. Error-handling code produces that evidence and changes like any other code. On Kill Bill, an open-source billing platform, we measured how well failures can be told apart from this evidence and what code changes do to it. We injected 5 to 12 kinds of failure at six code paths through eleven entry points, each case twice, and counted the pairs of failure kinds that leave different evidence. In release 0.24.18, outside one entry whose log is too unstable to measure, 56 of 235 pairs cannot be told apart from what the system states. Of 27 careless edits we planted, eight made failures harder to tell apart; five of these kept the business outcome. The existing tests caught one of the eight and none of those five. Across eleven consecutive releases, we could trace a change in this evidence to the code once; it moved evidence between channels and merged no failures. Two AI models (Claude Sonnet 5.5 and Opus 5.5) made 144 maintenance changes, half with an instruction to keep failures distinguishable. None of the 141 that compiled made any pair harder to tell apart: 0 of 141 (95% interval 0 to 3%). In this system the risk to diagnosis lies in the code as it stands and in tests that do not check evidence, more than in the changes measured.
Author: Thapa, Shirshak Jung
Institution: Florida Atlantic University
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7238820603
Cites:
Cited by:
Related to:
