Skip to content

Migrate internal-api groovy files to java part 2 - #12766

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
jpbempel/g2j-internal-api-pt2
Oct 9, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
jpbempel/g2j-internal-api-pt2

Conversation

@jpbempel

@jpbempel jpbempel commented Oct 6, 2026

Copy link
Copy Markdown
Member

What Does This Do

we migrate tests:

  • ConfigProviderTest
  • OtelEnvironmentConfigSourceTest
  • StableConfigParserTest
  • BaggageTest
  • SpanLinkTest
  • TaskWrapperTest
  • URIDataAdapterTest
  • URIDefaultDataAdapterTest
  • URINoRawDataAdapterTest
  • URIRawDataAdapterTest
  • URIUtilsTest
  • UnparseableURIAdapterTest
  • Utf8ByteStringTest

Motivation

this is part of the effort to migrate groovy tests to Java/JUnit

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@jpbempel
jpbempel requested a review from a team as a code owner October 6, 2026 22:43
@jpbempel
jpbempel requested review from mcculls and removed request for a team October 6, 2026 22:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 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-10-06T22:46:55.366056Z 6ac6cc6 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.

@datadog-datadog-prod-us1-2

This comment has been minimized.

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 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 migrated tests retain the original scenarios, assertions, and relevant configuration cleanup. Confidence is limited to static review because the test suite was not executed.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 6ac6cc6 · @DataDog review to ask questions

@dd-octo-sts

dd-octo-sts Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🟡 Java Benchmark SLOs — Performance SLO warning (near threshold)

Suite Status
Startup 🟡 warning

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.84 s 14.64 s [+0.5%; +2.3%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.58 s 13.72 s [-1.8%; -0.2%] (maybe better)
startup:petclinic:appsec:Agent 17.85 s 17.79 s [-0.5%; +1.1%] (no difference)
startup:petclinic:iast:Agent 17.62 s 17.55 s [-0.3%; +1.1%] (no difference)
startup:petclinic:profiling:Agent 17.29 s 17.20 s [-0.5%; +1.6%] (no difference)
startup:petclinic:sca:Agent 17.89 s 17.74 s [-0.0%; +1.8%] (no difference)
startup:petclinic:tracing:Agent 16.79 s 16.40 s [-2.2%; +6.9%] (no difference)

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

@jpbempel jpbempel added comp: testing Testing tag: no release notes Changes to exclude from release notes type: refactoring labels Oct 7, 2026
we migrate tests:
 - ConfigProviderTest
 - OtelEnvironmentConfigSourceTest
 - StableConfigParserTest
 - BaggageTest
 - SpanLinkTest
 - TaskWrapperTest
 - URIDataAdapterTest
 - URIDefaultDataAdapterTest
 - URINoRawDataAdapterTest
 - URIRawDataAdapterTest
 - URIUtilsTest
 - UnparseableURIAdapterTest
 - Utf8ByteStringTest
@jpbempel
jpbempel force-pushed the jpbempel/g2j-internal-api-pt2 branch from 6ac6cc6 to 12c67f3 Compare October 7, 2026 00:21

@bric3 bric3 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.

Overall looks ok to me, I got a few suggestions, some I'd like to see in the PR before merging, some might be later improvements (non-blocking).

Comment on lines +65 to +81
"too few characters | '%' | '�' ",
"too few characters after one digit | '%1' | '�' ",
"illegal 1st character | '%W1' | '�' ",
"illegal 2nd character | '%1X' | '�' ",
"illegal 1st character in word | 'wh%Y1t' | 'wh�t' ",
"illegal 2nd character in word | 'wh%1Zt' | 'wh�t' ",
"too few characters at end | 'wh%' | 'wh�' ",
"too few characters after one digit at end | 'wh%1' | 'wh�' ",
"invalid 2 byte sequence | '%C3%28' | '�(' ",
"invalid sequence identifier | '%A0%A1' | '��' ",
"invalid 3 byte sequence in 2nd byte | '%E2%28%A1' | '�(�' ",
"invalid 3 byte sequence in 3rd byte | '%E2%82%28' | '�(' ",
"invalid 4 byte sequence in 2nd byte | '%F0%28%8C%BC' | '�(��' ",
"invalid 4 byte sequence in 3rd byte | '%F0%90%28%BC' | '�(�' ",
"invalid 4 byte sequence in 4th byte | '%F0%28%8C%28' | '�(�(' ",
"valid 5 byte sequence but not unicode | '%F8%A1%A1%A1%A1' | '�����' ",
"valid 6 byte sequence but not unicode | '%FC%A1%A1%A1%A1%A1' | '������' "

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.

quibble (if-minor): I know it was there before, but I wonder if it could be safer to use escaped chars here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

keep as is for now

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.

unresolving for visibility now that it's merged

@jpbempel
jpbempel added this pull request to the merge queue Oct 9, 2026
@dd-octo-sts

dd-octo-sts Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-10-09 19:17:10 UTC ℹ️ Start processing command /merge


2026-10-09 19:17:14 UTC ℹ️ MergeQueue: pull request added to the queue

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


2026-10-09 20:47:42 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 9, 2026
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 9ccc432 into master Oct 9, 2026
610 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the jpbempel/g2j-internal-api-pt2 branch October 9, 2026 20:47
@github-actions github-actions Bot added this to the 1.68.0 milestone Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: testing Testing tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants