Repository navigation
Conversation
we migrate 7 tests: - InjectingPipeOutputStreamTest - InjectingPipeWriterTest - SharedDBCommenterForkedTest - NamedContextTest - HostNameResolverForkedTest - SessionStateTest - UnionMapTest Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
The migrated hostname fixtures fail when the local hostname resolves to IPv6: both rows labeled IPv4 construct an Inet6Address and fail their type assertion before testing the resolver.
🤖 Bits Code Review · Commit b6360cf
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b6360cf34d
ℹ️ 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".
InetAddress.getLocalHost() may resolve to an IPv6 address, which made the IPv4 cases build an Inet6Address and fail their type check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
sarahchen6
left a comment
There was a problem hiding this comment.
One note to keep DDSpecification / DDJavaSpecification for setup / cleanup, but otherwise LGTM
What Does This Do
we migrate 7 tests:
Motivation
this is part of the effort to migrate groovy tests to Java/JUnit
Additional Notes
Second batch of Groovy tests from
dd-java-agent/agent-bootstrap; test counts are unchanged:where:tables become@TableTest; rows that need builtInetAddressobjects use@MethodSourceMock(...)becomes Mockito;0 * _becomesverifyNoMoreInteractions, and_is only mapped toany()System.setPropertyfor service/env/version inSharedDBCommenterForkedTestbecomes class-level@WithConfigHostNameResolverForkedTestused package-privateInet4Address/Inet6Addressconstructors; it now uses the publicInetAddress.getByAddress(host, bytes), with an IPv6 loopback for the IPv6 casesSessionStateTestread the privatetimeInQueueSpanCountfield, soSessionStategets a package-privategetTimeInQueueSpanCount()accessor next to the existing test-onlygetCapturedSpanCount()Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]
🤖 Generated with Claude Code