Skip to content

[AI-FSSDK] [FSSDK-12958] Continue rule evaluation after local holdout hit - #1181

Merged
Alex Yong (alexjoeyyong) merged 3 commits into
masterfrom
ai/alexjoeyyong/FSSDK-12958-local-holdout-flow-fix
Oct 29, 2026
Merged

Alex Yong (alexjoeyyong) merged 3 commits into
masterfrom
ai/alexjoeyyong/FSSDK-12958-local-holdout-flow-fix

Conversation

@alexjoeyyong

@alexjoeyyong Alex Yong (alexjoeyyong) commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A local holdout hit used to return the holdout variation right away and skip every remaining rule for the flag. Now a hit only excludes the user from that one rule, and evaluation moves on to the next experiment or delivery rule. Each hit still sends its own holdout impression.

Changes

  • A local holdout hit on an experiment or delivery rule skips only that rule, and evaluation continues with the next one, with no jump to Everyone Else
  • All holdout hits for a flag are collected in a list. The existing single holdout field stays, is marked deprecated, and holds the first hit
  • decide sends one holdout impression per hit, whatever sendFlagDecisions is set to; DISABLE_DECISION_EVENT still turns them off
  • Legacy APIs skip a locally held-out rule and send no holdout event, the same way they treat global holdouts bypassed by excludeTargetedDeliveries

Jira Ticket

FSSDK-12958

@coveralls

Coveralls (coveralls) commented Oct 16, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 77.513% (-0.04%) from 77.554% — ai/alexjoeyyong/FSSDK-12958-local-holdout-flow-fix into master

@raju-opti
Raju Ahmed (raju-opti) force-pushed the ai/alexjoeyyong/FSSDK-12958-local-holdout-flow-fix branch from 86d24f1 to a291452 Compare October 28, 2026 15:42

@raju-opti Raju Ahmed (raju-opti) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. a couple of non-blocking comments

Comment thread lib/core/decision_service/index.ts Outdated
Comment thread lib/core/decision_service/index.ts Outdated
@alexjoeyyong
Alex Yong (alexjoeyyong) merged commit 8941c2c into master Oct 29, 2026
19 of 27 checks passed
@alexjoeyyong
Alex Yong (alexjoeyyong) deleted the ai/alexjoeyyong/FSSDK-12958-local-holdout-flow-fix branch October 29, 2026 17:40
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