Skip to content

[AI-FSSDK] [FSSDK-12368] Remove legacy flag-level holdout fields#1146

Open
Mat001 wants to merge 1 commit intomasterfrom
ai/mat001/FSSDK-12368-legacy-holdout-cleanup
Open

[AI-FSSDK] [FSSDK-12368] Remove legacy flag-level holdout fields#1146
Mat001 wants to merge 1 commit intomasterfrom
ai/mat001/FSSDK-12368-legacy-holdout-cleanup

Conversation

@Mat001
Copy link
Copy Markdown

@Mat001 Mat001 commented Apr 21, 2026

Summary

Remove deprecated includedFlags and excludedFlags from Holdout interface and simplify holdout handling to treat all holdouts as global.

Changes

  • Removed includedFlags and excludedFlags from Holdout interface
  • Removed includedHoldouts, excludedHoldouts, and globalHoldouts from ProjectConfig
  • Simplified _getHoldouts() method to return all holdouts
  • Removed getHoldoutsForFlag() method from ProjectConfig
  • Removed 3 test cases for deleted functionality
  • Updated remaining tests to use new global holdout behavior

Testing

  • ✅ All 3079 tests pass
  • ✅ Verification: grep for includedFlags|excludedFlags returns 0 results
  • ✅ Net reduction: 92 lines (104 deletions, 12 additions)

Quality Metrics

  • Iterations: 1/5 (AI-driven quality loop)
  • Tests: PASS (3079 tests, 0 failures)
  • Review: APPROVED (0 critical issues, 0 warnings)

Related

🤖 Generated with Claude Code

Remove deprecated includedFlags and excludedFlags from Holdout interface
and simplify holdout handling to treat all holdouts as global.

- Removed includedFlags and excludedFlags from Holdout interface
- Removed includedHoldouts, excludedHoldouts, and globalHoldouts from ProjectConfig
- Simplified _getHoldouts() method to return all holdouts
- Removed getHoldoutsForFlag() method from ProjectConfig
- Removed 3 test cases for deleted functionality
- Updated remaining tests to use new global holdout behavior

All 3079 tests pass. Verification: grep for includedFlags|excludedFlags returns 0 results.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant