Skip to content

Conversation

@evanpurkhiser
Copy link
Member

NEW-564: There needs to be some way to mute the entire cron detector

Stage 4 of the migration completes the removal of Monitor.is_muted:

  • Adds migration 0013 to physically delete the is_muted column from the database
  • Uses SafeRemoveField with DeletionAction.DELETE to safely drop the column
  • This should be run after Stage 3 has been deployed and validated in production

This completes the migration from monitor-level muting to environment-level muting.

[NEW-564: There needs to be some way to mute the entire cron detector](https://linear.app/getsentry/issue/NEW-564/there-needs-to-be-some-way-to-mute-the-entire-cron-detector)

Stage 4 of the migration completes the removal of Monitor.is_muted:

- Adds migration 0013 to physically delete the is_muted column from the database
- Uses SafeRemoveField with DeletionAction.DELETE to safely drop the column
- This should be run after Stage 3 has been deployed and validated in production

This completes the migration from monitor-level muting to environment-level muting.
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner November 19, 2025 19:51
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 19, 2025
@evanpurkhiser evanpurkhiser requested review from a team and removed request for a team November 19, 2025 19:54
@github-actions
Copy link
Contributor

This PR has a migration; here is the generated SQL for src/sentry/monitors/migrations/0013_delete_monitor_is_muted_field.py

for 0013_delete_monitor_is_muted_field in monitors

--
-- Remove field is_muted from monitor
--
ALTER TABLE "sentry_monitor" DROP COLUMN "is_muted" CASCADE;

@evanpurkhiser evanpurkhiser merged commit 5a5345b into master Nov 20, 2025
67 of 68 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-crons-delete-monitor-is-muted-database-column-stage-4- branch November 20, 2025 16:57
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