Skip to content

test(ffe): register dependent flag RC capability - #8293

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
helen/fix-dependent-flags-rc-capability
Nov 2, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
helen/fix-dependent-flags-rc-capability

Conversation

@hhan2024

@hhan2024 hhan2024 commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR is needed to fix test failures now that DataDog/libdatadog#2745 is merged: Register FFE_FLAG_DEPENDENT_FLAG_VARIANT_KEY_V1 at Remote Configuration capability bit 50.

Tracers implementing dependent flags advertise this bit; the capability validator currently rejects it as unknown, causing unrelated dynamic-configuration and feature-flag source-selection tests to fail.

This fixes the shared harness failure seen in DataDog/dd-trace-py#21346 (11 parametric test failures). Unknown bits and the 64-bit limit remain validated.

Validation: ./format.sh passes. Exercised TestAgentAPI.wait_for_rc_capabilities with mocked RC responses: bit 50 alone and combined with existing bits decode in both base64 and byte-array formats; bit 51 and oversized masks remain rejected. Full parametric CI remains to run.

Recognize capability bit 50 when validating tracer Remote Configuration requests.

Environment: Datadog workspace

Co-Authored-By: Codex GPT-6 <noreply@localhost>
@hhan2024
hhan2024 requested a review from a team as a code owner November 2, 2026 15:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T15:45:44.303388Z 6883a96 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/dd_constants.py                                                   @DataDog/system-tests-core

hhan2024 added a commit to DataDog/dd-trace-py that referenced this pull request Nov 2, 2026
Pin the shared harness revision that registers RC capability bit 50, fixing parametric capability validation failures in GitHub and GitLab CI.

System-tests fix: DataDog/system-tests#8293

Environment: Datadog workspace

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

datadog-prod-us1-5 Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

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

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.

2 participants