[AI-FSSDK] [FSSDK-12369] Add local holdouts support to Java SDK#627
Closed
Mat001 wants to merge 3 commits into
Closed
[AI-FSSDK] [FSSDK-12369] Add local holdouts support to Java SDK#627Mat001 wants to merge 3 commits into
Mat001 wants to merge 3 commits into
Conversation
…, not before Move local holdout checks inside getVariationFromExperimentRule() and getVariationFromDeliveryRule(), directly after the forced decision block. Previously the checks were in the outer rule loop, before calling those methods, which caused local holdouts to run before forced decisions — violating the mandatory order: forced decision → local holdout → regular. Add enforcement test: forced decision beats a 100%-traffic local holdout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…decision, not before" This reverts commit 59256c1.
Contributor
Author
|
Closing. Forced decision logic order was incorrect by incomplete Jora description or ai-fssdk. Only java specific. Will update and create a new PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds local holdouts support to the Java SDK. A holdout is now either global (applies to all rules across all flags, existing behavior) or local (applies only to specific rule IDs listed in an optional `includedRules` field). This enables scoping holdout experiments to individual flag rules rather than the entire flag set.
Changes
Jira Ticket
FSSDK-12369