Skip to content

feat(webhooks): Register legacy webhook migration feature flags#115669

Merged
Christinarlong merged 1 commit into
masterfrom
christinarlong/legacy-webhook-feature-flags
May 18, 2026
Merged

feat(webhooks): Register legacy webhook migration feature flags#115669
Christinarlong merged 1 commit into
masterfrom
christinarlong/legacy-webhook-feature-flags

Conversation

@Christinarlong

@Christinarlong Christinarlong commented May 15, 2026

Copy link
Copy Markdown
Contributor

See below for how each of the feature flags will be used

Feature flags (3 flags for phased rollout)

Flag Purpose
organizations:legacy-webhook-new-path Enables the new code path to execute (either dry-run or live)
organizations:legacy-webhook-dry-run When new path is enabled, only log header + payload (don't send)
organizations:legacy-webhook-disable-old-path Stops the old plugin path from firing

Routing truth table:

new-path dry-run disable-old Result
OFF * OFF Old path only (default, no change)
ON ON OFF Old path sends + new path logs only (shadow validation)
ON OFF OFF Both paths send (dual-write for HTTP delivery validation)
ON OFF ON New path only (cutover)
OFF * ON Guard: old path still fires (prevents accidental silence)

Add three feature flags for the legacy webhook plugin migration:
- legacy-webhook-new-path: gates the new standalone webhook path
- legacy-webhook-dry-run: enables shadow validation (log without send)
- legacy-webhook-disable-old-path: disables the old plugin-based path

These flags enable a phased rollout from the deprecated sentry_webhooks
plugin to a new standalone webhook service.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 15, 2026
@github-actions

This comment was marked as outdated.

@Christinarlong Christinarlong marked this pull request as ready for review May 18, 2026 18:32
@Christinarlong Christinarlong requested a review from a team May 18, 2026 18:32
@Christinarlong Christinarlong merged commit b0a901c into master May 18, 2026
117 of 119 checks passed
@Christinarlong Christinarlong deleted the christinarlong/legacy-webhook-feature-flags branch May 18, 2026 18:35
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