Skip to content

test(golang): enable passing ot.th/ot.rv tracestate sampling scenarios [golang@ben.db/feat-otel-th-rv-propagation] - #7389

Open
genesor wants to merge 1 commit into
ben.db/feat-otel-tracestate-sampling-scaffoldingfrom
ben.db/enable-otel-th-rv-golang-manifest
Open

test(golang): enable passing ot.th/ot.rv tracestate sampling scenarios [golang@ben.db/feat-otel-th-rv-propagation]#7389
genesor wants to merge 1 commit into
ben.db/feat-otel-tracestate-sampling-scaffoldingfrom
ben.db/enable-otel-th-rv-golang-manifest

Conversation

@genesor

@genesor genesor commented Jul 27, 2026

Copy link
Copy Markdown
Member

Motivation

Stacked on #7372 (the ot.th/ot.rv conformance scaffolding). Enables the Go entries that pass against dd-trace-go's wire implementation (DataDog/dd-trace-go#5060), verified locally against a golang@2.11.0-dev build across every scenario (DEFAULT + all five sample-rate scenarios).

What does this PR do?

Flips all tests/test_otel_tracestate_sampling.py Go entries from missing_feature to v2.11.0-dev in manifests/golang.yml:

  • Test_EmitOtOnProbabilityDecision_Rate0_01/0_1/0_2/0_5/0_99
  • Test_ForwardInboundOtUnchanged
  • Test_ForceKeepClearsTh
  • Test_MalformedOtHandling
  • Test_PreserveDdAndOtherVendors
  • Test_SampledWithoutOtNotFabricated

Test_ForceKeepClearsTh's two inherited-rv cases required forcing the AppSec keep to override an inherited/locked upstream drop (fixed in dd-trace-go#5060); all three methods now pass.

Base

Targets ben.db/feat-otel-tracestate-sampling-scaffolding (stacked). Retarget to main once #7372 merges.

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/golang.yml                                                    @DataDog/dd-trace-go-guild

@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Jul 27, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ 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: d8eebf8 | Docs | Datadog PR Page | Give us feedback!

@genesor genesor changed the title test(golang): enable passing ot.th/ot.rv tracestate sampling scenarios test(golang): enable passing ot.th/ot.rv tracestate sampling scenarios [golang@ben.db/feat-otel-th-rv-propagation] Jul 29, 2026
@genesor
genesor force-pushed the ben.db/enable-otel-th-rv-golang-manifest branch from 21f109c to d8eebf8 Compare July 29, 2026 15:28
@genesor
genesor marked this pull request as ready for review July 29, 2026 15:51
@genesor
genesor requested a review from a team as a code owner July 29, 2026 15:52

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

ℹ️ 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/golang.yml
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