Skip to content

fix(events): Handle Snuba errors in group events endpoint gracefully#109158

Merged
shashjar merged 2 commits intomasterfrom
shashjar/handle-snuba-errors-group-events-endpoint
Feb 24, 2026
Merged

fix(events): Handle Snuba errors in group events endpoint gracefully#109158
shashjar merged 2 commits intomasterfrom
shashjar/handle-snuba-errors-group-events-endpoint

Conversation

@shashjar
Copy link
Member

Resolves SENTRY-5HJX.

Wrap Snuba query in group events endpoint with handle_query_errors() so that Snuba timeouts return 504s instead of unhandled 500s.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 23, 2026
@shashjar shashjar requested a review from a team February 23, 2026 23:52
@shashjar shashjar marked this pull request as ready for review February 23, 2026 23:52
@shashjar shashjar requested a review from a team as a code owner February 23, 2026 23:52
@shashjar shashjar merged commit fd0299d into master Feb 24, 2026
79 checks passed
@shashjar shashjar deleted the shashjar/handle-snuba-errors-group-events-endpoint branch February 24, 2026 19:12
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
…109158)

Resolves
[SENTRY-5HJX](https://sentry.sentry.io/issues/7222775017?project=1).

Wrap Snuba query in group events endpoint with `handle_query_errors()`
so that Snuba timeouts return 504s instead of unhandled 500s.
wedamija pushed a commit that referenced this pull request Feb 24, 2026
…109158)

Resolves
[SENTRY-5HJX](https://sentry.sentry.io/issues/7222775017?project=1).

Wrap Snuba query in group events endpoint with `handle_query_errors()`
so that Snuba timeouts return 504s instead of unhandled 500s.
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants