Skip to content

feat!: fractional bucketing improvements#866

Merged
toddbaert merged 1 commit intomainfrom
feat/fractional-bucketing-improvements
Apr 1, 2026
Merged

feat!: fractional bucketing improvements#866
toddbaert merged 1 commit intomainfrom
feat/fractional-bucketing-improvements

Conversation

@toddbaert
Copy link
Copy Markdown
Member

High-precision and nested fractional

This is a coordinated feature across flagd and all flagd providers.

  • fractional now supports up to max-int32 total weight and 1/max-int32 resolution as described in the high-precision fractional bucketing ADR
  • fractional now supports computed (nested JSONLogic) variants and weights as described in the fractional ADR
  • Includes e2e tests from the flagd-testbed v3.1.0...v3.5.0 to validate consistent fractional bucketing across all provider implementations
  • ⚠️ Pseudorandom hash assignments will change with this release due to changes in the hashing algorithm; update flagd and your providers to ensure fractional assignment is consistent across all workloads

Related PRs

Component PR
flagd open-feature/flagd#1909
java-sdk-contrib open-feature/java-sdk-contrib#1740
js-sdk-contrib open-feature/js-sdk-contrib#1501
python-sdk-contrib open-feature/python-sdk-contrib#373
dotnet-sdk-contrib open-feature/dotnet-sdk-contrib#622
flagd-schemas open-feature/flagd-schemas#207

Warning
@toddbaert will coordinate the release across flagd and all providers. Do not merge without coordination.

Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
@toddbaert toddbaert force-pushed the feat/fractional-bucketing-improvements branch from 02ddca9 to 4728edc Compare April 1, 2026 21:22
@toddbaert
Copy link
Copy Markdown
Member Author

NOTE: there's barely any changes here - just submodule and go.mod updates since all of this is handled in libs from flagd.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the flagd/core dependency to v0.15.0 and jsonlogic to v3.9.0, alongside several other dependency updates for the flagd provider and its E2E tests. It also updates the flagd-testbed subproject commit. The E2E test configurations for the file, in-process, and RPC providers were modified to exclude the @fractional-v1 and @operator-errors tags. I have no feedback to provide.

@toddbaert toddbaert merged commit 73d84a6 into main Apr 1, 2026
5 checks passed
@toddbaert toddbaert deleted the feat/fractional-bucketing-improvements branch April 1, 2026 21:27
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.

3 participants