Sentry → AI bug triage
Group new errors by suspected cause, link likely-related deploy.
p95 latency on /api/checkout crossed 1200ms for 6 min. Correlated deploy: web@d41f2a. Suggested rollback command attached.
Sentry shows 200 new errors after a deploy. You can't tell which are real and which are downstream noise.
Three groups in Slack: 'Caused by deploy X' (collapse one bug, fixes 180 errors), 'Pre-existing', 'Unknown — please look'.
Ingredients & skills
- ANTHROPIC_API_KEY
- SENTRY_WEBHOOK_SECRET
- GITHUB_TOKEN
- SLACK_WEBHOOK_URL
- Anthropic
- Sentry
- GitHub
- Slack
- github-mcp
How it works
Sentry webhook on `event.created`. Claude clusters new errors by suspected root cause and posts a digest grouped by likely-broken deploy.
1 — Receive and verify
Sentry signs with HMAC SHA-256. Verify before parsing.
2 — Cluster
Pass last hour of events to Claude with the last 5 deploy SHAs.
3 — Post the digest
One Slack post per cluster, threaded.
The button above runs the same command with your saved config. This is the raw CLI form.
locker deploy sentry-triage --trigger sentry-webhook