Skip to content

fix(webhooks): Check webhooks:enabled in new webhook path#116459

Merged
Christinarlong merged 1 commit into
masterfrom
christinarlong/webhook-enabled-check
May 29, 2026
Merged

fix(webhooks): Check webhooks:enabled in new webhook path#116459
Christinarlong merged 1 commit into
masterfrom
christinarlong/webhook-enabled-check

Conversation

@Christinarlong
Copy link
Copy Markdown
Contributor

@Christinarlong Christinarlong commented May 29, 2026

Since we want to maintain the parity of being able to enable/disable legacy_webhooks on a per project basis we need to add back the gate that checks the webhooks:enabled ProjectOption

The new legacy webhook sending path (send_legacy_webhooks_for_invocation)
was missing the enabled/disabled check that the old plugin path enforces
via plugin.is_enabled(). This meant webhooks would fire even for projects
where webhooks are disabled when the new-path feature flag is on.
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 29, 2026
@Christinarlong Christinarlong marked this pull request as ready for review May 29, 2026 01:54
@Christinarlong Christinarlong requested a review from a team as a code owner May 29, 2026 01:54
Copy link
Copy Markdown
Member

@leeandher leeandher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@Christinarlong Christinarlong merged commit eb7a68a into master May 29, 2026
65 checks passed
@Christinarlong Christinarlong deleted the christinarlong/webhook-enabled-check branch May 29, 2026 18:49
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