Skip to content

[Bug]: Deleting a scanner query rule while the query is running generates a lot of tracebacks #16443

Description

@eviljeff

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

https://mozilla.sentry.io/issues/7302612480/?project=6310819&query=is%3Aunresolved&referrer=issue-stream

A running scanner query resulted in 60 tracebacks in Sentry - which then triggered a critical error warning message to Slack - because the associated scanner query rule was deleted.

What did you expect to happen?

The query rule instance not existing was handled, so no exception was thrown. Or the rule was prevented from being deleted.

┆Issue is synchronized with this Jira Task

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions