Skip to content

Enable Java serial ID metadata system tests - #7854

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
ffe-java-serial-id-metadata
Oct 16, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
ffe-java-serial-id-metadata

Conversation

@hhan2024

@hhan2024 hhan2024 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Uses the shared serial-ID tests merged in #7820.

  • Use the Java OpenFeature client's get*Details APIs and forward actual flagMetadata in /ffe/evaluate responses.
  • Preserve structured JSON values and forward the SDK's reason/error code so remote-config readiness retries can observe provider state.
  • Enable the serial-ID metadata tests for Java starting at v1.66.0.

No Java SDK change is necessary: DDEvaluator already includes the selected split's serial ID when span enrichment is enabled, preserving zero and omitting missing IDs. The old test adapter called only get*Value, which discarded this metadata.

The shared assertions and the other SDK manifests are unchanged.

Validation

  • After rebasing onto main: rebuilt the parametric adapter; all 29 serial-ID and dynamic-evaluation tests passed with Java 1.67.1+5941040e7e. ./format.sh --check passed.

  • ./format.sh — passed.

  • TEST_LIBRARY=java ./run.sh PARAMETRIC -n=2 tests/parametric/test_ffe/test_serial_id_metadata.py tests/parametric/test_ffe/test_dynamic_evaluation.py — 29 passed, no skips (Java 1.66.0+a099fffb31): all 5 serial-ID cases plus 24 dynamic-evaluation regression cases, including structured JSON, integer, numeric, and falsy values.

@hhan2024
hhan2024 requested a review from a team as a code owner September 29, 2026 15:40
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/java.yml                                                      @DataDog/system-tests-reviewers
utils/build/docker/java/parametric/src/main/java/com/datadoghq/trace/controller/FeatureFlagEvaluatorController.java  @DataDog/feature-flagging-and-experimentation-sdk @DataDog/system-tests-core

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 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

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

@hhan2024
hhan2024 force-pushed the ffe-serial-id-metadata-system-test branch from 9547cef to ea6ec3f Compare September 30, 2026 16:24
@hhan2024
hhan2024 requested review from a team as code owners September 30, 2026 16:24
@hhan2024
hhan2024 requested review from danyal002 and sameerank and removed request for a team September 30, 2026 16:24

@nccatoni nccatoni left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks like there is a merge conflict with utils/pytest.py, otherwise LGTM

@hhan2024
hhan2024 force-pushed the ffe-serial-id-metadata-system-test branch from b59cca6 to 4352704 Compare October 15, 2026 17:12
Base automatically changed from ffe-serial-id-metadata-system-test to main October 16, 2026 17:03
Forward OpenFeature evaluation details and enable serial ID coverage for Java 1.66.0.

Environment: Datadog workspace

Co-Authored-By: Codex GPT-5 <noreply@localhost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants