Skip to content

fix(alerts): Fall through to issue alert handler#116241

Open
ceorourke wants to merge 1 commit into
masterfrom
ceorourke/ISWF-2606
Open

fix(alerts): Fall through to issue alert handler#116241
ceorourke wants to merge 1 commit into
masterfrom
ceorourke/ISWF-2606

Conversation

@ceorourke
Copy link
Copy Markdown
Member

When a metric detector's action is webhook (or any non-explicitly supported action type) we hit a NoRegistrationExists error. If we let it fall through it will route to the issue alert handler it should be handled appropriately.

Fixes https://sentry.sentry.io/issues/7230559910/

@ceorourke ceorourke requested a review from a team as a code owner May 26, 2026 21:18
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 26, 2026

ISWF-2606

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 26, 2026
)
# Fall through silently: execute_via_group_type_registry catches this
# and routes to the issue alert handler for action types (e.g. WEBHOOK,
# PLUGIN, ticketing) that have no metric-alert-specific handler.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense, at least it makes more sense than adding new metric issue specific handlers for these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant