Skip to content

Include split serial ID in OpenFeature evaluation metadata - #6400

Draft
hhan2024 wants to merge 2 commits into
masterfrom
ffe-serial-id-metadata
Draft

hhan2024 wants to merge 2 commits into
masterfrom
ffe-serial-id-metadata

Conversation

@hhan2024

@hhan2024 hhan2024 commented Sep 29, 2026 •

Copy link
Copy Markdown

What does this PR do?
Expose the evaluated split serial ID as __dd_split_serial_id in OpenFeature flag metadata when span enrichment is enabled, without requiring an active trace.

Motivation:
Preserve positive and zero serial IDs while omitting the key when the UFC has no serial ID, matching DataDog/system-tests#7820.

Change log entry
Added and validated a customer-facing fragment for the metadata fix.

Additional Notes:
Companion system-tests adapter: DataDog/system-tests#7856; release-version activation remains pending.

How to test the change?
The OpenFeature rake task passes on Ruby 3.1, 3.2 and 4.0 with latest and minimum OpenFeature SDKs (316 examples each; 1,896 total).
The candidate passes all 5 serial-ID system tests and 24 dynamic-evaluation regressions; full RuboCop and Steep pass.
Changelog schema, Vale checks and rendered entry pass.

Preserve zero and omit missing IDs when span enrichment is enabled, independent of an active span.

Environment: Datadog workspace

Co-Authored-By: Codex GPT-5 <noreply@localhost>
@hhan2024 hhan2024 added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Sep 29, 2026
@dd-octo-sts dd-octo-sts Bot added the openfeature A new component that provider an ability to configure feature flags label Sep 29, 2026
Add the customer-facing changelog fragment for PR6400.

Environment: Datadog workspace

Co-Authored-By: Codex GPT-5 <noreply@localhost>
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Tests

✅ All CI checks and tests passed.

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 90.36% (-0.02%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b4685bd | Docs | View more details | Give us feedback!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos openfeature A new component that provider an ability to configure feature flags

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant