Skip to content

Fix registry-dependent assumptions in KnownTagsTest - #13702

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
mcculls/fix-known-tags-serial-tests
Nov 26, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
mcculls/fix-known-tags-serial-tests

Conversation

@mcculls

@mcculls mcculls commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What Does This Do

Keep KnownTagsTest valid when tags are added to the generated registry. Use a named span-level tag for serial and level-bit checks, derive unknown IDs from the serial limit, and check every generated tag in the ID round-trip test.

Motivation

Adding the Camel tags in #13444 assigns serial 263 to the trace-level process_id tag, breaking a test that assumed it was span-level. The reflection test also still required an _ID suffix and skipped most tags.

Additional Notes

The _ID filter was written before #13061 removed the suffix from generated ID constants, then landed later in #13004 with the old check intact. Tags naturally ending in id still matched, so checked > 0 hid the lost coverage.

Test-only change. Validation: KnownTagsTest through Gradle, plus the four changed test methods against the registry generated from #13444.

Contributor Checklist

  • Follow the title and label guidelines.
  • Keep changes limited to tests; no public behavior or configuration changes.

@mcculls mcculls added type: bug fix Bug fix comp: core Tracer core tag: no release notes Changes to exclude from release notes tag: ai generated Largely based on code generated by an AI or LLM labels Nov 26, 2026
@mcculls
mcculls marked this pull request as ready for review November 26, 2026 10:13
@mcculls
mcculls requested a review from a team as a code owner November 26, 2026 10:14
@mcculls
mcculls requested review from sarahchen6 and removed request for a team November 26, 2026 10:14
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T10:15:53.989624Z 728e163 Draft marked ready
ℹ️ 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.

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The named span-level tag and serialLimit() boundary match the codec contracts, removing assumptions that break when registry entries shift. The expanded reflection check covers every generated tag ID.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 728e163

@datadog-datadog-prod-us1

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 58.05% (-3.22%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 728e163 | Docs | Give us feedback!

@amarziali amarziali left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thank you

@dd-octo-sts

dd-octo-sts Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.85 s 14.84 s [-0.8%; +1.0%] (no difference)
startup:insecure-bank:tracing:Agent 13.69 s 13.78 s [-1.4%; +0.1%] (no difference)
startup:petclinic:appsec:Agent 17.78 s 17.57 s [+0.3%; +2.1%] (maybe worse)
startup:petclinic:iast:Agent 17.61 s 17.64 s [-1.1%; +0.8%] (no difference)
startup:petclinic:profiling:Agent 17.20 s 17.31 s [-1.8%; +0.5%] (no difference)
startup:petclinic:sca:Agent 17.79 s 17.73 s [-0.7%; +1.4%] (no difference)
startup:petclinic:tracing:Agent 16.70 s 16.78 s [-1.4%; +0.5%] (no difference)

Commit: 728e163c · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@mcculls

mcculls commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-11-26 11:01:04 UTC ℹ️ Start processing command /merge


2026-11-26 11:01:08 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-11-26 11:45:52 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit ab9df92 into master Nov 26, 2026
705 of 710 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the mcculls/fix-known-tags-serial-tests branch November 26, 2026 11:45
@github-actions github-actions Bot added this to the 1.70.0 milestone Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: bug fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants