Skip to content

[java] Enable Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count for v1.63.0#7236

Merged
sameerank merged 1 commit into
mainfrom
sameeran/enable-ffe-eval-metric-count
Jun 30, 2026
Merged

[java] Enable Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count for v1.63.0#7236
sameerank merged 1 commit into
mainfrom
sameeran/enable-ffe-eval-metric-count

Conversation

@sameerank

@sameerank sameerank commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Motivation

tests/ffe/test_flag_eval_metrics.py::Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count was marked as a known bug (FFL-1972) in the Java manifest. The fix shipped in dd-trace-java v1.63.0 via DataDog/dd-trace-java#11426 ("fix(openfeature): use delta temporality for OTLP metrics export", merged 2026-05-22).

Change

Replace the bug (FFL-1972) marker with a version gate at the release that contains the fix:

  tests/ffe/test_flag_eval_metrics.py::Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count:
    - weblog_declaration:
        "*": irrelevant
        spring-boot: v1.63.0

The fix is present in v1.63.0 and absent from v1.62.0 (verified: the #11426 merge commit is an ancestor of the v1.63.0 tag but not v1.62.0). Gating to v1.63.0 — rather than letting the test inherit the file-level spring-boot: v1.62.0 declaration — avoids asserting the test passes on v1.62.0, where the bug is still present.

This addresses the automated review note about gating activation to the fixed version.

@sameerank sameerank requested review from a team as code owners June 29, 2026 23:46
@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/java.yml                                                      @DataDog/asm-java @DataDog/apm-java

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4a0ddf0f20

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread manifests/java.yml
…for v1.63.0

The FFL-1972 fix shipped in dd-trace-java v1.63.0 via DataDog/dd-trace-java#11426, so gate the test to spring-boot v1.63.0 rather than letting it inherit the file-level v1.62.0 declaration — the fix is absent from v1.62.0.
@sameerank sameerank force-pushed the sameeran/enable-ffe-eval-metric-count branch from 4a0ddf0 to ecb7974 Compare June 30, 2026 01:49
@sameerank sameerank changed the title [java] Enable Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count [java] Enable Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count for v1.63.0 Jun 30, 2026
Comment thread manifests/java.yml
tests/ffe/test_flag_eval_metrics.py::Test_FFE_Eval_Metric_Count::test_ffe_eval_metric_count:
- weblog_declaration:
"*": irrelevant
spring-boot: v1.63.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in https://github.com/DataDog/dd-trace-java/releases/tag/v1.63.0

🐛 use delta temporality for OTLP metrics export (DataDog/dd-trace-java#11426 - @sameerank)

@sameerank sameerank merged commit 1e3c4a3 into main Jun 30, 2026
75 checks passed
@sameerank sameerank deleted the sameeran/enable-ffe-eval-metric-count branch June 30, 2026 13:28
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