Skip to content

fix(code-review): Use a flag that works in control region#106352

Closed
suejung-sentry wants to merge 1 commit into
masterfrom
sshin/fix-flag
Closed

fix(code-review): Use a flag that works in control region#106352
suejung-sentry wants to merge 1 commit into
masterfrom
sshin/fix-flag

Conversation

@suejung-sentry

@suejung-sentry suejung-sentry commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

The old flags (github.webhook.issue-comment, github.webhook.pr) were booleans that were read from control, but their values were only declared in downstream regions. We incorrectly assumed that setting the flag in downstream regions (e.g. DE/US) was sufficient. But actually control must have its own explicit value, otherwise it falls back to the default (True).

However, a boolean isn’t expressive enough for control - i.e., control needs to decide per event, per region whether to forward to Overwatch or send directly to Seer, and that requires multiple values, not on/off.

This PR fixes that by replacing the booleans with event-specific lists of regions
seer.code-review.direct-to-seer-regions.issue-comment
seer.code-review.direct-to-seer-regions.pull-request
We can declare these values in the options automator default.yaml so the same values are written to all regions (control, us, de, s4s2...)

Paired with https://github.com/getsentry/sentry-options-automator/pull/6137

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 15, 2026
@suejung-sentry

Copy link
Copy Markdown
Contributor Author

we're just going to move forward with what we've got already

@suejung-sentry suejung-sentry deleted the sshin/fix-flag branch January 15, 2026 19:08
@suejung-sentry suejung-sentry self-assigned this Jan 29, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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