UXDL Docs

Hotfix Procedure

Emergency patch workflow, approval path, and post-incident steps.

Use this procedure when production is broken and a normal release cycle is too slow.

When to hotfix

  • Error rate > 5% for 5+ minutes
  • Critical user flow broken (login, checkout, data access)
  • Security vulnerability actively exploited

Hotfix workflow

  1. Declare incident in #engineering and page on-call SRE.
  2. Branch from latest production tag: hotfix/<issue-id>-<short-desc>.
  3. Implement minimal fix — no unrelated changes.
  4. Get expedited review from code owner (target: 30 min).
  5. Deploy to staging, run smoke tests.
  6. Deploy to production with SRE approval.
  7. Verify metrics return to baseline.
  8. Merge hotfix branch back to main.

Approval path

SeverityApprovers required
P1 (outage)Code owner + SRE lead
P2 (degraded)Code owner
P3 (minor)Normal PR process

Post-incident

  • Write incident summary within 24 hours
  • Schedule blameless postmortem within 3 business days
  • Create follow-up tickets for root cause fixes