Repository navigation
Migrate agent-bootstrap groovy files to java part 3 - #13228
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
Conversation
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.
More details
Static comparison found the migration preserves the original scenarios, inherited decorator coverage, and key assertions. Tests were not executed.
🤖 Bits Code Review · Commit 6a1f0ac
🟢 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. |
bric3
left a comment
There was a problem hiding this comment.
Left a few suggestions about inline comment moving on top of related statement.
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for eabd33b: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for 9e75db6: What to do next?
|
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for 578acb2: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for f1f8a0c: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
we migrate 11 tests: - ClientIpAddressResolverSpecification - HttpResourceDecoratorTest - BaseDecoratorTest - ClientDecoratorTest - ServerDecoratorTest - HttpClientDecoratorTest - HttpServerDecoratorTest - UrlConnectionDecoratorTest - DatabaseClientDecoratorTest - DBTypeProcessingDatabaseClientDecoratorTest - OrmClientDecoratorTest Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- use @TableTest for testOnError and testOnPeerConnection - reset HttpResourceNames through its reset() method - reword comments moved above their statement Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
65fbc51 to
cd3fe80
Compare
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for f103eb9: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What Does This Do
we migrate 11 tests:
Motivation
this is part of the effort to migrate groovy tests to Java/JUnit
Additional Notes
Third batch of Groovy tests from
dd-java-agent/agent-bootstrap; test counts are unchanged:BaseDecoratorTest, and a Spock spec cannot extend a JUnit class, so the 9 classes are migrated together (hence the size of this PR). Inherited tests still re-run against each subclass's decorator through an overridablenewDecorator().test afterStart,test beforeFinish) both; they get distinct Java method names so JUnit keeps running both. The Gradle report used to hide the basetest afterStartin Client-derived specs, so those classes now show one more test than before, while the number of tests that actually run is the same.where:tables become@TableTest, including FQNClasscolumns, map literals, and request/connection columns, so no@MethodSourceis left except where rows need built objects (InetSocketAddress,Exception)Mock(...)becomes Mockito andStub(...)becomesmock(..., RETURNS_MOCKS);0 * _becomesverifyNoMoreInteractions,_ *becomesatLeast(0)or a small helper that tolerates everysetTagoverload, and_maps toany()/nullable(...)only where the original had a wildcard@Ignored DB-typeafterStartfeature is kept as@DisabledHttpResourceDecoratorTestneeds a fresh decorator per config, soHttpResourceDecorator's constructor becomes package-private with@VisibleForTestingContributor 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