When a bug escapes
An escaped bugEscaped bugA bug found after release, by users, support or monitoring, instead of during the team's testing.Open in glossary → is a bug found after release, by users, support, monitoring or anyone outside the team’s testing. A serious one becomes an incidentIncidentA problem in production serious enough that the team drops other work to deal with it.Open in glossary →: something the team has to drop other work for.
The first hours: users first
During an incident, the questions are practical. Analysis waits until users are safe.
- Reproduce it. Use the details from support, crash reportsCrash reporting toolA service built into an app that sends crash reports from users' devices to a dashboard, such as Firebase Crashlytics or Sentry.Open in glossary → and logs. Note the exact steps, versions and conditions.
- Find out who is affected. All users or some? Which platform, version, country, account type? “Only users who updated from 3.8” is a very different incident from “everyone”.
- Help contain it. Is there a kill switchKill switchA remote switch, usually a feature flag, that turns a broken feature off for everyone within minutes.Open in glossary →? Should the rolloutStaged rolloutReleasing a new app version to a growing share of users (for example 1%, 10%, 50%, 100%) instead of everyone at once.Open in glossary → be halted? Is there a workaround support can give users?
- Verify the fix on the exact build that will ship, plus a focused regression around it. See the hotfix routine in Release Testing.
- Keep notes with times: when it was noticed, what was tried, what worked. They become the timeline for the review later.
And one thing not to do: argue about whose fault it is while users are still affected. “QA missed it” and “the developer broke it” are both true for most escaped bugs, and neither helps anyone right now.
“How did QA not catch this?”
You’ll hear it. Don’t get defensive, and don’t take all the blame either. A calm answer works best: “Let’s fix it first. Afterwards, let’s look at how it got through. I’ll bring what we tested and what we didn’t.”
Remember that a bug reaching users means the whole team’s safety net had a hole: the requirement, the code review, the unit tests, the testing, the release checks and the monitoring. Testing is one layer, not the only one. Your job in the review is to look honestly at your layer, not to defend it or to carry the others.
Check this part
A serious bug reaches users. What comes first?
Why does it matter exactly which users are affected?