-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(cells) Add rollout option and support for apigateway deployments #118098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| from sentry.options import FLAG_AUTOMATOR_MODIFIABLE, register | ||
| from sentry.utils.types import Bool, Dict, Float, Int, Sequence | ||
| from sentry.utils.types import Bool, Dict, Int, Sequence | ||
|
|
||
| register( | ||
| "outbox_replication.sentry_organizationmember.replication_version", | ||
|
|
@@ -202,14 +202,13 @@ | |
| flags=FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
| register( | ||
| "apigateway.proxy.use_gateway_address", | ||
| type=Float, | ||
| default=0.0, | ||
| flags=FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
| register( | ||
| "hybridcloud.rpc.use_pooling_rate", | ||
| type=Float, | ||
| default=1.0, | ||
| "apigateway.proxy.cell-rollout", | ||
| type=Dict, | ||
| default={ | ||
| "us": 1.0, | ||
| "de": 0.0, | ||
| "us2": 0.0, | ||
| "s4s2": 0.0, | ||
| }, | ||
| flags=FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
|
Comment on lines
204
to
214
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The removed option Suggested FixRe-add the registration for the Prompt for AI AgentAlso affects:
Did we get this right? 👍 / 👎 to inform future reviews. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RPC pooling option accidentally deleted
High Severity
Replacing
apigateway.proxy.use_gateway_addressremoved theregistercall forhybridcloud.rpc.use_pooling_rate, but_get_connectioninhybridcloud/rpc/service.pystill callsin_random_rolloutfor that key.options.getthen raisesUnknownOptionon cross-silo RPC traffic.Reviewed by Cursor Bugbot for commit c22f330. Configure here.