Skip to content

Migrate dd-trace-core groovy files to java part 6#11362

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
masterfrom
jpbempel/g2j-core-pt6
May 15, 2026
Merged

Migrate dd-trace-core groovy files to java part 6#11362
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
masterfrom
jpbempel/g2j-core-pt6

Conversation

@jpbempel
Copy link
Copy Markdown
Member

What Does This Do

we migrate 6 tests

  • PendingTracerBufferTest
  • PendingTraceStrictWriteTest
  • PendingTraceTest
  • PendingTraceTestBase
  • TraceInterceptorTest
  • TracingConfigPollerTest

Motivation

this is part of the effort to migrate groovy tests to Java/JUnit
part1: #11053
part2: #11062
part3: #11085
part4: #11146
part5: #11217

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@jpbempel jpbempel requested a review from a team as a code owner May 13, 2026 07:25
@jpbempel jpbempel requested a review from dougqh May 13, 2026 07:25
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 13, 2026

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

we migrate 6 tests
 - PendingTracerBufferTest
 - PendingTraceStrictWriteTest
 - PendingTraceTest
 - PendingTraceTestBase
 - TraceInterceptorTest
 - TracingConfigPollerTest
@jpbempel jpbempel force-pushed the jpbempel/g2j-core-pt6 branch from abcd3c1 to 66b5f3c Compare May 13, 2026 08:09
@jpbempel jpbempel added comp: testing Testing tag: no release notes Changes to exclude from release notes labels May 13, 2026
return "0";
}

// @VisibleForTesting
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'd be fine with package visible member variables, but I don't feel strongly either way.

Copy link
Copy Markdown
Contributor

@bric3 bric3 left a comment

Choose a reason for hiding this comment

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

I found a few issues in the port on PendingTraceBufferTest, that's strange that the llm didn't caught them

Comment thread dd-trace-core/src/test/java/datadog/trace/core/PendingTraceBufferTest.java Outdated
Comment thread dd-trace-core/src/test/java/datadog/trace/core/PendingTraceBufferTest.java Outdated
Comment thread dd-trace-core/src/test/java/datadog/trace/core/PendingTraceBufferTest.java Outdated
@jpbempel jpbempel force-pushed the jpbempel/g2j-core-pt6 branch from 2bc0b33 to 04c28fc Compare May 15, 2026 07:36
@jpbempel jpbempel added this pull request to the merge queue May 15, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 15, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 15, 2026

View all feedbacks in Devflow UI.

2026-05-15 10:29:31 UTC ℹ️ Start processing command /merge


2026-05-15 10:29:36 UTC ℹ️ MergeQueue: pull request added to the queue

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


2026-05-15 12:16:03 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 May 15, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 86eece6 into master May 15, 2026
735 of 758 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the jpbempel/g2j-core-pt6 branch May 15, 2026 12:15
@github-actions github-actions Bot added this to the 1.63.0 milestone May 15, 2026
kaahos pushed a commit that referenced this pull request May 15, 2026
Migrate dd-trace-core groovy files to java part 6

we migrate 6 tests
 - PendingTracerBufferTest
 - PendingTraceStrictWriteTest
 - PendingTraceTest
 - PendingTraceTestBase
 - TraceInterceptorTest
 - TracingConfigPollerTest

address comments

Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants