Skip to content

fix(java): declare FFE capability from 1.65 - #7456

Merged
leoromanovsky merged 1 commit into
mainfrom
leo.romanovsky/java-1.65-ffe-capability
Aug 5, 2026
Merged

fix(java): declare FFE capability from 1.65#7456
leoromanovsky merged 1 commit into
mainfrom
leo.romanovsky/java-1.65-ffe-capability

Conversation

@leoromanovsky

Copy link
Copy Markdown
Contributor

Motivation

dd-trace-java 1.65.0 recognizes DD_FEATURE_FLAGS_CONFIGURATION_SOURCE=remote_config and reports FFE_FLAG_CONFIGURATION_RULES during the Remote Config capability completeness test. The system-tests capability registry does not currently declare that Java capability, so released-version validation rejects the correctly reported bit as unexpected and fails the Java nightly parametric job. This makes a valid tracer release appear regressed and leaves the nightly pipeline red.

Changes

This updates the version-aware Java capability registry so FFE_FLAG_CONFIGURATION_RULES is expected starting with Java 1.65.0. Earlier Java versions keep their existing expected capability set.

Decisions

The capability is declared at >=1.65.0 instead of in the Java base set. Java 1.64.2 contained the registration code, but its feature-flagging subsystem remained disabled under this test configuration because it did not recognize the stable configuration-source setting. Java 1.65.0 recognizes the setting and activates the Remote Config service, which makes the capability observable. This PR stays focused on correcting the released-version contract; it does not change the separate prerelease capability policy.

Verification

  • ./format.sh
  • ./run.sh TEST_THE_TEST tests/test_the_test/test_capabilities.py — 4 passed
  • Verified the resolver excludes the capability for Java 1.64.2 and includes it for Java 1.65.0

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/parametric/capabilities.yml                                       @DataDog/system-tests-core @DataDog/apm-sdk-capabilities

@leoromanovsky
leoromanovsky marked this pull request as ready for review August 5, 2026 00:59
@leoromanovsky
leoromanovsky requested review from a team as code owners August 5, 2026 00:59
@leoromanovsky
leoromanovsky requested review from mcculls and removed request for a team August 5, 2026 00:59
@leoromanovsky
leoromanovsky enabled auto-merge (squash) August 5, 2026 01:00
@leoromanovsky
leoromanovsky merged commit 5ef4a45 into main Aug 5, 2026
431 checks passed
@leoromanovsky
leoromanovsky deleted the leo.romanovsky/java-1.65-ffe-capability branch August 5, 2026 01:07
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