Skip to content

ref(webhooks): remove legacy sentry_webhooks plugin#118077

Draft
Christinarlong wants to merge 3 commits into
masterfrom
Christinarlong/webhook-migration-pr2
Draft

ref(webhooks): remove legacy sentry_webhooks plugin#118077
Christinarlong wants to merge 3 commits into
masterfrom
Christinarlong/webhook-migration-pr2

ref(webhooks): remove legacy sentry_webhooks plugin

0da3565
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: sentry-backend-bugs completed Jun 18, 2026 in 0s

1 issue

sentry-backend-bugs: Found 1 issue (1 medium)

Medium

Webhook stub added for orgs with only soft-deleted projects that have webhooks enabled - `src/sentry/workflow_engine/processors/action.py:373-378`

The ProjectOption filter at line 373 is missing project__status=ObjectStatus.ACTIVE, so a soft-deleted project with webhooks:enabled=True will cause the stub to appear as an available action for the org even though no active project has webhooks configured.


⏱ 2m 5s · 276.6k in / 9.4k out · $0.45

Annotations

Check warning on line 378 in src/sentry/workflow_engine/processors/action.py

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: sentry-backend-bugs

Webhook stub added for orgs with only soft-deleted projects that have webhooks enabled

The `ProjectOption` filter at line 373 is missing `project__status=ObjectStatus.ACTIVE`, so a soft-deleted project with `webhooks:enabled=True` will cause the stub to appear as an available action for the org even though no active project has webhooks configured.