Skip to content

Conversation

@kcons
Copy link
Member

@kcons kcons commented Nov 14, 2025

We have logic to ensure that SnubaQuery deletions are triggered by QuerySubscription deletion only if the SnubaQuery isn't used by AlertRules or other QuerySubscriptions.

This changes it to not exclude snapshot AlertRules, as those can still point to a SnubaQuery and fail attempts to delete it.

Fixes SENTRY-43RZ.

@kcons kcons requested review from armenzg and ceorourke November 14, 2025 20:03
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 14, 2025
@armenzg
Copy link
Member

armenzg commented Nov 14, 2025

Thank you!

@kcons kcons enabled auto-merge (squash) November 14, 2025 20:14
@kcons kcons merged commit 2a2afa2 into master Nov 14, 2025
68 checks passed
@kcons kcons deleted the kcons/debeet branch November 14, 2025 20:24
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.

4 participants