Skip to content
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

Remove percent rollouts with 0% from SDK Payload #2415

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

jdorn
Copy link
Member

@jdorn jdorn commented Apr 19, 2024

Features and Changes

Our SDKs have a bug when percent rollouts have 0% coverage. Due to rounding, ~1 out of 10,000 users will be included in the rollout when it should be 0.

This PR fixes the problem by removing 0% rollout rules from the SDK payload entirely. We will still want to eventually patch this rounding bug in the SDKs themselves, but that will take time to update all of them.

@jdorn jdorn merged commit b479a41 into main Apr 19, 2024
2 of 3 checks passed
@jdorn jdorn deleted the scrub-rules-rollout-0 branch April 19, 2024 14:07
Copy link

Your preview environment pr-2415-bttf has been deployed with errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant