Skip to content

feat(autofix): Update seer explorer autofix last triggered on completion#111663

Merged
Zylphrex merged 9 commits into
masterfrom
txiao/feat/update-seer-explorer-autofix-last-triggered-on-completion
Mar 30, 2026
Merged

feat(autofix): Update seer explorer autofix last triggered on completion#111663
Zylphrex merged 9 commits into
masterfrom
txiao/feat/update-seer-explorer-autofix-last-triggered-on-completion

Merge branch 'master' into txiao/feat/update-seer-explorer-autofix-la…

9d10fc3
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: sentry-backend-bugs completed Mar 27, 2026 in 2m 10s

1 issue

sentry-backend-bugs: Found 1 issue (1 high)

High

Unhandled Group.DoesNotExist in on_completion_hook.execute - `src/sentry/seer/autofix/on_completion_hook.py:247`

Line 85 calls Group.objects.get(id=group_id, ...) without handling DoesNotExist. If the group is deleted between when the autofix run was triggered and when the completion hook fires, this raises an unhandled exception. The refactoring removed the DoesNotExist handling that previously existed in _maybe_trigger_supergroups_embedding (lines 233-242 in old code) and _maybe_continue_pipeline (lines 319-332 in old code) without adding equivalent handling in execute.

Also found at:

  • src/sentry/seer/autofix/on_completion_hook.py:85

Duration: 2m 8s · Tokens: 505.3k in / 6.6k out · Cost: $0.77 (+extraction: $0.01, +merge: $0.00)

Annotations

Check failure on line 247 in src/sentry/seer/autofix/on_completion_hook.py

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: sentry-backend-bugs

Unhandled Group.DoesNotExist in on_completion_hook.execute

Line 85 calls `Group.objects.get(id=group_id, ...)` without handling `DoesNotExist`. If the group is deleted between when the autofix run was triggered and when the completion hook fires, this raises an unhandled exception. The refactoring removed the `DoesNotExist` handling that previously existed in `_maybe_trigger_supergroups_embedding` (lines 233-242 in old code) and `_maybe_continue_pipeline` (lines 319-332 in old code) without adding equivalent handling in `execute`.

Check failure on line 85 in src/sentry/seer/autofix/on_completion_hook.py

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: sentry-backend-bugs

[95N-HVM] Unhandled Group.DoesNotExist in on_completion_hook.execute (additional location)

Line 85 calls `Group.objects.get(id=group_id, ...)` without handling `DoesNotExist`. If the group is deleted between when the autofix run was triggered and when the completion hook fires, this raises an unhandled exception. The refactoring removed the `DoesNotExist` handling that previously existed in `_maybe_trigger_supergroups_embedding` (lines 233-242 in old code) and `_maybe_continue_pipeline` (lines 319-332 in old code) without adding equivalent handling in `execute`.