Fix a bug
When to use
A report or signal shows unwanted behavior, and no incident is needed to contain it. The report does not have to be reproduced yet. Step 2 does that.
Before you start
- A work record. See Start a task.
- A workspace where you can run the product and reach the failing state.
Steps
- Capture the user's task, the failure, the version, the inputs, the role, and the time.
- Reproduce the failure. If you cannot, collect the best available evidence and narrow the claim. Keep facts apart from hypotheses.
- Trace the failure back to the first point where the system went wrong. The reporter's proposed fix is one option.
- Make the smallest change at the cause. Add a regression test that fails on the old code and passes on the fix.
- Exercise the original failure and its neighbors in the real interface. Write the evidence record.
- Ship the change with Ship a change. A fix usually has no flag, so plan the deployment with Changes without a flag.
- Confirm that the affected users have the fix and that the failure no longer occurs for them. Draft the reply as Support reports describes. The communication owner approves it and sends it.
- Hand prevention work, data repair, and temporary controls to named owners.
Done when
The task reaches the production change exit:
- The fix is observed working for the affected users.
- The reporter has an answer, approved and sent.
- Every follow-up has an owner.
A workaround can close the task if the product decision owner accepts it, with an owner and an expiry for the real fix.
Stop and ask when
- Users are being harmed and the damage needs containing. Switch to Respond to an incident.
- The fix needs a schema change, a data repair, or a change to a shared contract.
- The cause is a product decision, not a defect.
- You cannot reproduce the failure, and the evidence does not identify a cause. Report what you tried and what you would observe next.