Skip to content

fix(plugins): Block deprecated plugins from test-fire notifications#118257

Merged
Christinarlong merged 2 commits into
masterfrom
Christinarlong/fix-deprecated-plugin-test-notifications
Jun 23, 2026
Merged

fix(plugins): Block deprecated plugins from test-fire notifications#118257
Christinarlong merged 2 commits into
masterfrom
Christinarlong/fix-deprecated-plugin-test-notifications

Conversation

@Christinarlong

@Christinarlong Christinarlong commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Deprecated notification plugins (e.g. Twilio) can be test-fired via "Send Test Notification" in alert rule configuration.

  • Block deprecated plugins (those in HIDDEN_PLUGINS) from being test-fired in the legacy ProjectRuleActions endpoint
  • Block deprecated plugins from being test-fired in the new OrganizationTestFireActions endpoint
  • Return a clear 400 error with a deprecation message instead of silently succeeding

Complements #118206 which removes deprecated plugins from the available services list.

Fixes ISWF-2908

Deprecated notification plugins (e.g. Twilio) could be test-fired via
"Send Test Notification" in alert rule config. The test fire silently
failed but returned 200, misleading users into thinking their
notification worked.

Check the action's plugin slug against HIDDEN_PLUGINS before attempting
to fire, and return a clear deprecation error in both the legacy
(ProjectRuleActions) and new (OrganizationTestFireActions) endpoints.

ISWF-2908
@linear-code

linear-code Bot commented Jun 23, 2026

Copy link
Copy Markdown

ISWF-2908

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 23, 2026
…dation

The test-fire endpoints validate action payloads through serializers
before reaching our deprecation check. Enable twilio on the test
project so it appears as a valid service choice, and fix the webhook
config to use target_type=None matching the actual DB schema.
@Christinarlong Christinarlong marked this pull request as ready for review June 23, 2026 18:32
@Christinarlong Christinarlong requested review from a team as code owners June 23, 2026 18:32
@Christinarlong Christinarlong merged commit 13a0bca into master Jun 23, 2026
63 checks passed
@Christinarlong Christinarlong deleted the Christinarlong/fix-deprecated-plugin-test-notifications branch June 23, 2026 18:54
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.

2 participants