Operations Production Incident Debugging

Debug a Production Incident

Stabilize, then diagnose: impact first, rollback options before intervention, timeline from the deploy history — forensic discipline under fire.

Overview

Production incidents punish improvisation twice: once in the outage, once in the confused retelling. This setup runs the incident strategy under forensic mode on an ongoing checkout outage: impact assessment and containment explicitly ordered before root cause, rollback options reviewed before any intervention, the timeline established from deployment history and the symptom window, monitoring gaps recorded as findings — and recovery verified in monitoring, not in the absence of complaints. The incident checklist covers the usual suspects: deploys, infrastructure changes, dependency outages.

How to use this resource

  1. Impact before cause

    Who is affected, how badly, is it ongoing — the contract refuses to theorize before the blast radius is known.

  2. Check rollback first

    The fastest fix is often reverting — the contract requires knowing the rollback options before trying anything cleverer.

  3. Verify recovery in monitoring

    Error rates at baseline on the dashboards — silence from customers is not a recovery signal.

Why This Works

  • Stabilize-first ordering matches how incidents are actually survived
  • Deploy-window checklist finds the cause in the place it usually is
  • Monitoring-verified recovery prevents the second outage announcement

Best for

  • On-call engineers facing an active incident
  • Teams without a formal incident command process
  • Outages where "what changed?" has six answers

Not for

  • The blameless post-mortem afterward — that's the Root Cause Analysis setup, run at leisure
  • Pre-deploy gating — that's the Code Review Prompt Generator's production-readiness review

Use cases

  • Working an ongoing outage with structure instead of panic
  • Ordering containment before diagnosis explicitly
  • Building the timeline the post-mortem will need

FAQ

Why does this incident prompt force impact assessment before root cause instead of diagnosing first?

The SYSTEM CONTEXT orders it deliberately: 'Assess customer impact first' and 'Review rollback options before any intervention' both precede diagnosis, on the logic that 'a controlled degradation beats an uncontrolled outage.' So the prompt scopes severity and reversibility of the checkout outage before theorizing about the payments-gateway timeouts. You still decide whether to roll back or hold.

How should I label a claim like 'the payments pool exhaustion caused the failures' in the output?

Under the EVIDENCE RULES it is a HYPOTHESIS, a testable causal claim that ships with its test. The log line '14:06:02 WARN connection pool exhausted pool=payments size=50' is a FACT, but 'the pool caused the 40% failures' stays a HYPOTHESIS until validated. The generated prompt enforces these labels; the assistant you run it in fills them.

When the checkout error rate drops back down, can I call the incident resolved?

Not from customer silence alone. The POST-FIX VERIFICATION section wants error rates back at baseline (under 1%) on the dashboards, checks for regressions in the paths the fix touched, and asks you to state an observation window before declaring resolution. The prompt structures that check; your monitoring confirms recovery, since NewPrompt doesn't watch your dashboards.

More resources from Debugging Prompt Generator

Resources that pair well

Related tools

Workflows that use this resource

Tip: Save time by exploring related resources and tools that integrate with this resource.