Skip to content

Enable span links parametric tests for cpp [cpp@milan.garnier/span-links-support]#7238

Draft
MilanGarnier wants to merge 4 commits into
mainfrom
milan.garnier/cpp-span-links-support
Draft

Enable span links parametric tests for cpp [cpp@milan.garnier/span-links-support]#7238
MilanGarnier wants to merge 4 commits into
mainfrom
milan.garnier/cpp-span-links-support

Conversation

@MilanGarnier

@MilanGarnier MilanGarnier commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Enable parametric span links tests for the C++ tracer, pending feat(tracing): add span link support dd-trace-cpp#330
  • Version gate: >2.1.2 (feature not yet in any release)
  • binaries/cpp-load-from-git points to milan.garnier/span-links-support branch so CI runs against the correct branch (TO remove when feature
  • PR gets merged)
  • Two tests remain missing_feature:
    • test_span_started_with_link_v05: v0.5 encoding not implemented
    • test_span_link_propagated_sampling_decisions: auto.drop not supported

Test plan

  • Ran TEST_LIBRARY=cpp ./run.sh PARAMETRIC -k "span_link" locally against the branch — 4 passed, 2 xfailed (expected), 2 skipped
  • CI will run against milan.garnier/span-links-support via binaries/cpp-load-from-git

🤖 Generated with Claude Code

Enable parametric span links tests for C++ tracer once
dd-trace-cpp/milan.garnier/span-links-support lands (>2.1.2).
Two tests remain missing_feature: v0.5 not implemented,
auto.drop not supported.

Binaries point to milan.garnier/span-links-support branch
(DataDog/dd-trace-cpp#330) for CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@MilanGarnier MilanGarnier requested review from a team as code owners June 30, 2026 15:09
@MilanGarnier MilanGarnier requested review from dubloom and removed request for a team June 30, 2026 15:09
@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

binaries/cpp-load-from-git                                              @DataDog/system-tests-core
manifests/cpp.yml                                                       @DataDog/dd-trace-cpp

@MilanGarnier MilanGarnier marked this pull request as draft June 30, 2026 15:10

@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: b874d214b3

ℹ️ 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 binaries/cpp-load-from-git Outdated
@@ -0,0 +1 @@
https://github.com/DataDog/dd-trace-cpp.git@milan.garnier/span-links-support No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Remove the committed C++ git override

When this change is merged, every C++ parametric build that sees binaries/cpp-load-from-git will clone milan.garnier/span-links-support instead of the default tracer release/main path (utils/build/docker/cpp/parametric/install_ddtrace.sh reads this file before falling back). That makes all future C++ runs depend on a personal feature branch and can silently test the wrong tracer, or fail once the branch disappears; this override should stay as an untracked/local CI artifact rather than being committed.

Useful? React with 👍 / 👎.

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.

I will remove it once CI has passed on the branch once.

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jun 30, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

Testing the test | Fail if target branch is specified   View in Datadog   GitHub Actions

Testing the test | all-jobs-are-green   View in Datadog   GitHub Actions

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 67425f2 | Docs | Datadog PR Page | Give us feedback!

@MilanGarnier MilanGarnier changed the title [cpp] Enable span links parametric tests (milan.garnier/span-links-support) Enable span links parametric tests for cpp [cpp@milan.garnier/span-links-support] Jun 30, 2026
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.

1 participant