Production breaks right after a deploy. What do you do?
Answer
- Acknowledge and communicate: open an incident channel, assign roles, post status updates.
- Mitigate first, diagnose later: roll back the deploy or switch off the feature flag.
- Confirm recovery with metrics (errors, latency).
- Investigate with logs, traces and the diff of the deploy.
- Fix forward with a test that reproduces the bug.
- Blameless postmortem: timeline, root cause, why tests or the canary did not catch it, action items.
Practice this question in Repaso