You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AI-FSSDK] [FSSDK-12368] Cleanup flag base setup (local holdouts) (#507)
* [FSSDK-12368] Remove legacy flag-level holdout fields
Remove deprecated flag-level holdout functionality as cleanup after
local holdouts (FSSDK-12369) implementation.
Changes:
- Removed includedFlags and excludedFlags from Holdout entity
- Removed includedFlags and excludedFlags from HoldoutDict type
- Removed get_holdouts_for_flag() method from ProjectConfig
- Removed flag-level holdout infrastructure:
- global_holdouts list
- included_holdouts dict
- excluded_holdouts dict
- flag_holdouts_map dict
- Flag-level population logic in ProjectConfig.__init__
- Removed flag-level holdout checking from DecisionService.get_variation_for_feature()
- Removed 10 test methods testing removed functionality
- Removed includedFlags/excludedFlags from all test fixtures
Impact: 7 files modified, 310 lines deleted, 5 lines added (net: -305 lines)
Verification:
- grep for "includedFlags", "excludedFlags", "getHoldoutsForFlag" returns zero results
- grep for "global_holdouts", "included_holdouts", "excluded_holdouts", "flag_holdouts_map" returns zero results
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* [FSSDK-12368] Restore holdout evaluation in decide flow, remove only flag-level include/exclude fields
The previous cleanup removed the entire holdout evaluation from the decide
flow. This restores holdout checking while keeping the removal of legacy
includedFlags/excludedFlags fields — all running holdouts now apply to all
flags uniformly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Farhan Anjum <Farhan.Anjum@optimizely.com>
0 commit comments