10.3.1 · Skill in Maintenance

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.

Your status · Bug triage and fixes

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

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

  1. Rank bugs by impact and frequency: users affected, data at risk, workarounds available.
  2. Reproduce the bug before fixing it. A bug you cannot reproduce is a guess.
  3. Read the actual error message and the logs before forming a theory.
  4. Fix the cause, not only the symptom, and add a test that fails without the fix.
  5. Ship the fix with a way to roll it back, and check that the error stops in production.
  6. 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)

Flow

Mamitsu's path from a new error to a fix

Newerror i…SlackthreadReal error?Needs th…Fix as aPRFrom theagentRefereeGreen andeasy to rol…Lowrisk…Fixed inproductionNotsure…For themakerNew error inSentrySlack threadReal error? Needs themaker?Fix as a PRFrom the agentRefereeGreen and easy to rollback?Low risk: mergedFixed in productionNot sure: waitsFor the maker

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

Sources: A debugging manifesto (Julia Evans) ↗

In practice

Real products

Resources

1
  • articleStart here
    A debugging manifesto ↗
    Julia Evans · 2022 · 4 min

    Short 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.