Editing a draft. Agents still load the published version. Viewing the published version. Click Edit to open a draft.
Incident triage
When to use
Find what broke a service and propose the smallest safe fix.
Method
- Pull the Sentry issues for the service since the alert.
- Match them with the recent commits and deploys.
- If one commit explains it, open a revert PR and ask a person to merge it.
scripts/correlate.py
# Match Sentry issues with the deploys that came just before.
def suspects(issues, deploys, window_min=30):
return [
(issue.id, deploy.sha)
for issue in issues
for deploy in deploys
if 0 <= (issue.first_seen - deploy.at).total_seconds() <= window_min * 60
] references/severity.md
# Severity SEV1 Customers cannot book or track. Page on-call now. SEV2 One flow is degraded. Fix within the day. SEV3 Cosmetic or internal. Ticket, no page.
references/revert-policy.md
# Reverting Revert first, understand after. Open the revert as a pull request. A person merges it. Never force-push to main.





