Skip to content

Add 128 bit TID parsing tests - #11802

Merged
PerfectSlayer merged 1 commit into
masterfrom
bbujon/ci
Jun 30, 2026
Merged

Add 128 bit TID parsing tests#11802
PerfectSlayer merged 1 commit into
masterfrom
bbujon/ci

Conversation

@PerfectSlayer

Copy link
Copy Markdown
Collaborator

What Does This Do

Add missing test coverage

Motivation

Additional Notes

Reworked groovy migrated code a bit too.

Contributor Checklist

  • Format the title according to the contribution guidelines
  • Assign the type: and (comp: or inst:) labels in addition to any other useful labels
  • Avoid using close, fix, or any linking keywords when referencing an issue
    Use solves instead, and assign the PR milestone to the issue
  • Update the CODEOWNERS file on source file addition, migration, or deletion
  • Update public documentation with any new configuration flags or behaviors
  • Add your completed PR to the merge queue by commenting /merge. You can also:
    • Customize the commit message associated with the merge with /merge --commit-message "..."
    • Remove your PR from the merge queue with /merge -c
    • Skip all merge queue checks with /merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level (note: the PR still needs to be mergeable, this will only skip the pre-merge build)
    • Get more information in this doc

Jira ticket: [PROJ-IDENT]

@PerfectSlayerPerfectSlayer added the tag: no release notes Changes to exclude from release notes label Jun 30, 2026
@PerfectSlayer
PerfectSlayer requested a review from a team as a code ownerJune 30, 2026 09:42
@PerfectSlayerPerfectSlayer added the comp: api Tracer public API label Jun 30, 2026

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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:0f754267a7

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}

@TableTest({
"default bounds | 0123456789abcdeffedcba9876543210 | 0 | 32 | true | 0123456789abcdeffedcba9876543210",

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 Add the missing TableTest header

This table starts with a data row instead of the required header row; the project TableTest docs state that the first row is the header and that a scenario column is consumed by the runner. As written, default bounds is interpreted as a column name, so the actual data rows still include the scenario-name column while the test method only accepts five parameters, causing this parameterized test to be mis-bound/fail when DDTraceIdTest runs. Add a header such as scenario | hexId | start | length | lowerCaseOnly | expectedHexId before the cases.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

On it

@bric3bric3Jun 30, 2026

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.

I think it's right the first row might be skipped.

EDIT: Oh I see you already answered first.

@bric3

Copy link
Copy Markdown
Contributor

For reference, this test supersedes the test of DD128bTraceId that was added in #11801 (and then removed)

@dd-octo-sts

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

SuiteStatus
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
ScenarioCandidatemasterΔ (95% CI of mean)
startup:insecure-bank:iast:Agent13.96 s13.96 s[-0.9%; +0.8%] (no difference)
startup:insecure-bank:tracing:Agent12.90 s12.99 s[-1.3%; -0.1%] (maybe better)
startup:petclinic:appsec:Agent16.90 s16.59 s[+0.7%; +3.0%] (maybe worse)
startup:petclinic:iast:Agent16.80 s16.90 s[-1.3%; +0.2%] (no difference)
startup:petclinic:profiling:Agent16.78 s16.34 s[-2.9%; +8.2%] (unstable)
startup:petclinic:sca:Agent16.92 s16.80 s[-0.2%; +1.6%] (no difference)
startup:petclinic:tracing:Agent16.03 s15.98 s[-1.1%; +1.7%] (no difference)

Commit:1ad20e58 · 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.

@PerfectSlayer
PerfectSlayer merged commit 1abde6b into masterJun 30, 2026
581 checks passed
@PerfectSlayer
PerfectSlayer deleted the bbujon/ci branch June 30, 2026 10:55
@github-actionsgithub-actionsBot added this to the 1.64.0 milestone Jun 30, 2026
gh-worker-dd-mergequeue-cf854dBot pushed a commit that referenced this pull request Jun 30, 2026
#11801)
chore(api): Exclude AIGuard and LLMObs class from coverage
test(api): Add tests for 128-bit trace IDs and protocol versions
test(api): Remove 128-bit trace IDs test, better equivalent in #11802
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: apiTracer public APItag: no release notesChanges to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@PerfectSlayer@bric3@mcculls