Skip to content

Revert local holdout feature gate logic#637

Merged
muzahidul-opti merged 1 commit into
masterfrom
muzahidul-opti/enable-local-holdout-feature-gate
Jun 16, 2026
Merged

Revert local holdout feature gate logic#637
muzahidul-opti merged 1 commit into
masterfrom
muzahidul-opti/enable-local-holdout-feature-gate

Conversation

@muzahidul-opti

@muzahidul-opti muzahidul-opti commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reverted PR [FSSDK-12394] chore: local holdout logic behind FeatureGates flag #631 (except CLAUDE.md documentation changes)
  • Removed FeatureGates.localHoldouts flag from Constants.swift
  • Unwrapped local holdout evaluation in DefaultDecisionService.swift so it runs unconditionally
  • Removed BaseHoldoutTests.swift and FeatureGateTests_LocalHoldouts.swift
  • Reverted holdout test classes back to inheriting from XCTestCase
  • Removed corresponding project.pbxproj entries for deleted test files

Local holdout evaluation no longer needs to be gated behind a feature flag — it should run by default.

Test plan

  • Existing holdout tests continue to validate local holdout behavior
  • No feature gate flag to toggle; holdout logic is always active

Issues

  • FSSDK-12394

🤖 Generated with Claude Code

Remove the FeatureGates.localHoldouts flag and unwrap local holdout
evaluation so it runs unconditionally, matching the pre-gate behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@muzahidul-opti muzahidul-opti force-pushed the muzahidul-opti/enable-local-holdout-feature-gate branch from 78e291b to c2ca71c Compare June 11, 2026 12:25
@muzahidul-opti muzahidul-opti changed the title Enable local holdout feature gate Revert local holdout feature gate logic Jun 11, 2026

@raju-opti raju-opti left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

looks good. one comment


import Foundation

struct FeatureGates {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

can we keep this struct for future reference and just remove the field, maybe add a comment at the top about expected usage?

@muzahidul-opti muzahidul-opti merged commit 75f22f5 into master Jun 16, 2026
9 of 13 checks passed
@muzahidul-opti muzahidul-opti deleted the muzahidul-opti/enable-local-holdout-feature-gate branch June 16, 2026 12:38
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.

2 participants