Skip to content

Holdout prototype/demo#299

Draft
rohansub wants to merge 2 commits into
mainfrom
holdout-prototype/demo
Draft

Holdout prototype/demo#299
rohansub wants to merge 2 commits into
mainfrom
holdout-prototype/demo

Conversation

@rohansub

@rohansub rohansub commented Jun 2, 2026

Copy link
Copy Markdown

Prototype/demo only

This is a draft PR for visualizing the SDK-side holdout exposure metadata changes. It is not intended to merge as-is.

What changed

  • Pass holdout metadata from UFC split.extraLogging into OpenFeature flagMetadata.
  • Include a holdout object on exposure events when holdout metadata is present.
  • Cover both node-server UFC evaluation and browser precomputed evaluation paths.
  • Add targeted tests showing metadata propagation into exposure events.

Validation

  • yarn workspace @datadog/flagging-core test test/configuration/exposureEvent.spec.ts --runInBand --watchman=false
  • yarn workspace @datadog/openfeature-node-server test test/evaluateForSubject.spec.ts --runInBand --watchman=false
  • yarn workspace @datadog/openfeature-browser test test/evaluation.spec.ts --runInBand --watchman=false
  • yarn workspace @datadog/flagging-core typecheck
  • yarn workspace @datadog/openfeature-node-server typecheck
  • yarn workspace @datadog/openfeature-browser typecheck
  • yarn prettier --check <touched files>

rohansub and others added 2 commits June 2, 2026 16:02
Replace extraLogging-based holdout metadata with first-class split.holdout
field per RFC. Only key and variation round-trip through the SDK; analysis
experiment ID, covered experiment ID, and base allocation key are resolved
server-side.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@datadog-datadog-prod-us1

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

CI | build-and-test (24.x)   View in Datadog   GitHub Actions

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 05e550c | Docs | Datadog PR Page | Give us feedback!

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