Bug triage and fixes
Deciding which bugs matter and fixing them well.
Triage ranks bugs by impact and frequency, not by who reported them. A good fix includes a test that prevents the bug from returning. A growing bug backlog is a signal about quality upstream.
Why it matters for a product engineer
Every product has more bugs than time to fix them. Triage decides which ones matter: how many users they affect, how badly, and how often. A good fix removes the cause and adds a test so the bug cannot return quietly. A growing backlog is a signal, too: something upstream is letting bugs through.
How to do it
- Rank bugs by impact and frequency: users affected, data at risk, workarounds available.
- Reproduce the bug before fixing it. A bug you cannot reproduce is a guess.
- Read the actual error message and the logs before forming a theory.
- Fix the cause, not only the symptom, and add a test that fails without the fix.
- Ship the fix with a way to roll it back, and check that the error stops in production.
- Look at where bugs come from. Many in one area point to a design problem.
Common mistakes
- Fixing the loudest bug, not the most harmful one.
- Fixes with no test, so the bug returns.
- A backlog nobody reviews, full of bugs that no longer exist.
- Fixing the symptom in the interface while the data stays wrong.
Example
At Mamitsu, a new error in Sentry starts a Slack thread, and an agent investigates. If it finds a fix, the fix goes through the same risk check as any other change: a referee agent merges it only if everything is green and easy to roll back. Once, the first its maker heard of an error was that it was already fixed in production. (Mamitsu in In practice)
Mamitsu's path from a new error to a fix
Fixes take the same path as features. The risk check, not the source of the change, decides whether a person is needed.
ReportedThe call with Mamitsu's maker, 13 Nov 2026
In practice
Real productsResources
1- articleStart here
A debugging manifesto ↗
Julia Evans · 2022 · 4 minShort principles for debugging well, from trusting nobody to reading the actual error message.
Tools
1- ToolFreemium
Sentry
Error tracking and performance monitoring that groups exceptions and links them to releases.