feat(autofix): Update seer explorer autofix last triggered on completion#111663
Merged
Zylphrex merged 9 commits intoMar 30, 2026
Merged
@sentry/warden / warden
completed
Mar 27, 2026 in 3m 33s
1 issue
Medium
Unhandled Group.DoesNotExist in completion hook causes webhook failure - `src/sentry/seer/autofix/on_completion_hook.py:85`
The Group.objects.get() call at line 85 does not handle Group.DoesNotExist. When an autofix run completes but the referenced group has been deleted (merged, archived, or removed) between run start and completion, this raises an exception. While the RPC layer catches ObjectDoesNotExist and returns a 404, this is inconsistent with line 82-83 which gracefully returns when group_id is None. A deleted group should trigger the same graceful skip behavior, not an error response to the webhook caller.
2 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| sentry-security | 0 | 3m 27s | $1.36 |
| sentry-backend-bugs | 1 | 2m 13s | $0.99 |
Duration: 5m 41s · Tokens: 1.7M in / 15.7k out · Cost: $2.37 (+extraction: $0.00, +fix_gate: $0.00, +dedup: $0.00)
Loading