Code review sweep (run 25176007766)#18447
Merged
Merged
Conversation
Automated code review of instrumentation/jaxrs/jaxrs-common/javaagent.
Automated code review of instrumentation/jaxws/jaxws-2.0-axis2-1.6/javaagent.
Automated code review of instrumentation/jaxws/jaxws-2.0-tomee-testing.
Automated code review of instrumentation/jaxws/jaxws-2.0-wildfly-testing.
Automated code review of instrumentation/jaxws/jaxws-2.0/javaagent.
Automated code review of instrumentation/jaxws/jaxws-3.0-axis2-2.0-testing.
Automated code review of instrumentation/jaxws/jaxws-3.0-cxf-4.0-testing.
Automated code review of instrumentation/jaxws/jaxws-3.0-metro-3.0-testing.
Automated code review of instrumentation/jaxws/jaxws-common/javaagent.
trask
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated code review sweep walked the following modules in order
and stopped after accumulating at least 10 modified files:
jaxrs-common:bootstrapjaxrs-common:javaagentjaxrs-common:testingjaxws:jaxws-2.0-arquillian-testingjaxws-2.0-axis2-1.6:javaagentjaxws:jaxws-2.0-common-testingjaxws:jaxws-2.0-tomee-testingjaxws:jaxws-2.0-wildfly-testingjaxws-2.0:javaagentjaxws:jaxws-3.0-axis2-2.0-testingjaxws:jaxws-3.0-common-testingjaxws:jaxws-3.0-cxf-4.0-testingjaxws:jaxws-3.0-metro-3.0-testingjaxws-common:javaagentModule:
jaxrs-common:bootstrapModule path:
instrumentation/jaxrs/jaxrs-common/bootstrapSummary
No safe repository-guideline fixes were found in
instrumentation/jaxrs/jaxrs-common/bootstrap; no files were changed.Applied Changes
No safe automated changes were applied.
Module:
jaxrs-common:javaagentModule path:
instrumentation/jaxrs/jaxrs-common/javaagentSummary
Applied and committed safe nullability contract fixes for
jaxrs-common javaagent; no unresolved review items remain.Applied Changes
Nullability
File:
HandlerData.java:123Change: Annotated `buildSpanName` parameters with `@Nullable`.
Reason: `buildSpanName` is called with values from nullable path lookup branches and already handles `null`; the repository nullability rule requires parameters that can receive `null` to be annotated accurately.
File:
JaxrsPathUtil.java:11Change: Annotated `normalizePath` parameter with `@Nullable`.
Reason: `normalizePath` explicitly accepts and normalizes `null`, including calls from JAX-RS route data that may be absent; the repository nullability rule requires parameters that can receive `null` to be annotated accurately.
Module:
jaxrs-common:testingModule path:
instrumentation/jaxrs/jaxrs-common/testingSummary
No safe repository-guideline fixes were applied under
instrumentation/jaxrs/jaxrs-common/testing. The review found no deterministic issues in scope; the only visibility candidate,TestResponse(String, int), must remainpublicbecause sibling test subclasses in other packages instantiate it.Applied Changes
No safe automated changes were applied.
Module:
jaxws:jaxws-2.0-arquillian-testingModule path:
instrumentation/jaxws/jaxws-2.0-arquillian-testingSummary
No safe repository-guideline fixes were found under
instrumentation/jaxws/jaxws-2.0-arquillian-testing; no files were changed.Applied Changes
No safe automated changes were applied.
Module:
jaxws-2.0-axis2-1.6:javaagentModule path:
instrumentation/jaxws/jaxws-2.0-axis2-1.6/javaagentSummary
Applied one safe repository-guideline fix under
instrumentation/jaxws/jaxws-2.0-axis2-1.6/javaagentand committed it as2006e4ce.Applied Changes
Build
File:
build.gradle.kts:57Change: Changed the single test-task configuration from `tasks.withType<Test>().configureEach` to `tasks.test`.
Reason: `gradle-conventions.md` says modules with only the default `Test` task should use `tasks.test`; implicit `latestDepTest` does not justify `withType<Test>().configureEach`.
Module:
jaxws:jaxws-2.0-common-testingModule path:
instrumentation/jaxws/jaxws-2.0-common-testingSummary
No safe repository-guideline fixes were applied under
instrumentation/jaxws/jaxws-2.0-common-testing; the tracked files already conformed to the loaded review rules, and the module has no scopedmetadata.yamlor config entries to fix.Applied Changes
No safe automated changes were applied.
Module:
jaxws:jaxws-2.0-tomee-testingModule path:
instrumentation/jaxws/jaxws-2.0-tomee-testingSummary
Applied one safe repository-guideline fix and committed it as
0a3bd113(Review fixes for jaxws-2.0-tomee-testing).Applied Changes
Build
File:
build.gradle.kts:24Change: Changed `tasks.withType<Test>().configureEach { ... }` to `tasks.test { ... }`.
Reason: `gradle-conventions.md` says single-test-task modules should prefer `tasks.test { ... }`; `withType<Test>().configureEach` is for modules that explicitly register additional `Test` tasks.
Module:
jaxws:jaxws-2.0-wildfly-testingModule path:
instrumentation/jaxws/jaxws-2.0-wildfly-testingSummary
Applied one safe review fix under
instrumentation/jaxws/jaxws-2.0-wildfly-testingand committed it as4f3d09e9.Applied Changes
Build
File:
build.gradle.kts:57Change: Moved the shared `jvmArgs(...)` calls from `tasks.withType<Test>().configureEach` into the existing `test { ... }` task configuration.
Reason: `gradle-conventions.md` says single-test-task modules should prefer `tasks.test { ... }`; `withType<Test>().configureEach` is only justified when the same `build.gradle.kts` registers additional custom `Test` tasks.
Module:
jaxws-2.0:javaagentModule path:
instrumentation/jaxws/jaxws-2.0/javaagentSummary
Applied 1 safe repository-guideline fix and committed it in
d6d30077.Applied Changes
Build
File:
build.gradle.kts:19Change: Changed the single test-task configuration from `tasks.withType<Test>().configureEach` to `tasks.test`.
Reason: `gradle-conventions.md` says modules without explicitly registered custom `Test` tasks should use the simple `tasks.test` form; `latestDepTest` does not count as a second test task, and `collectMetadata` should not use `withType<Test>().configureEach` in single-test-task modules.
Module:
jaxws:jaxws-3.0-axis2-2.0-testingModule path:
instrumentation/jaxws/jaxws-3.0-axis2-2.0-testingSummary
Applied one safe build-convention fix in
jaxws-3.0-axis2-2.0-testing; left thetestExperimentalsplit as unresolved because it changes test behavior and the review instructions say not to auto-fix that case.Applied Changes
Build
File:
build.gradle.kts:25Change: Replaced `tasks.withType<Test>().configureEach` with `tasks.test` for the module JVM argument configuration.
Reason: `gradle-conventions.md` says single-test-task modules should prefer `tasks.test`; implicit `latestDepTest` does not count as a second custom `Test` task.
Unresolved Items
File:
build.gradle.ktsReason: The experimental flag `-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true` is enabled on the default `test` task without a dedicated `testExperimental` task; review instructions classify this as report-only because isolating it would require behavior-changing test assertion/task restructuring.
Module:
jaxws:jaxws-3.0-common-testingModule path:
instrumentation/jaxws/jaxws-3.0-common-testingSummary
No safe repository-guideline fixes were applied in
instrumentation/jaxws/jaxws-3.0-common-testing; reviewed source-owned files and nearby JAX-WSmetadata.yamlconfig mapping without finding deterministic issues.Applied Changes
No safe automated changes were applied.
Module:
jaxws:jaxws-3.0-cxf-4.0-testingModule path:
instrumentation/jaxws/jaxws-3.0-cxf-4.0-testingSummary
Applied one safe Gradle-convention fix in
jaxws-3.0-cxf-4.0-testing; one report-only experimental test-task issue remains.Applied Changes
Build
File:
build.gradle.kts:22Change: Changed `tasks.withType<Test>().configureEach` to `tasks.test` for the module JVM argument configuration.
Reason: `gradle-conventions.md` says single-test-task modules should prefer `tasks.test`; `withType<Test>().configureEach` is reserved for modules with explicit additional `Test` tasks, and `latestDepTest` does not count.
Unresolved Items
File:
build.gradle.ktsReason: The experimental flag `otel.instrumentation.common.experimental.controller-telemetry.enabled=true` still runs on the default `test` task without a dedicated `testExperimental` task; the review instructions classify missing `testExperimental` wiring as report-only rather than an auto-fix. Next action: add a dedicated `testExperimental` task and gate assertions if the module should also exercise flag-off behavior.
Module:
jaxws:jaxws-3.0-metro-3.0-testingModule path:
instrumentation/jaxws/jaxws-3.0-metro-3.0-testingSummary
Applied 1 safe Gradle convention fix in
jaxws-3.0-metro-3.0-testingand committed it. OnetestExperimentalwiring concern remains manual-only per review instructions.Applied Changes
Build
File:
build.gradle.kts:21Change: Changed `tasks.withType<Test>().configureEach` to `tasks.test`.
Reason: `gradle-conventions.md` says single-test-task modules should use the simple `tasks.test` form; `latestDepTest` does not count as a second custom test task.
Unresolved Items
File:
build.gradle.ktsReason: The default `test` task still enables `-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true` without a dedicated `testExperimental` task. The review instructions classify missing `testExperimental` wiring for unconditional experimental flags as non-auto-fixable, so this needs an intentional manual change.
Module:
jaxws-common:javaagentModule path:
instrumentation/jaxws/jaxws-common/javaagentSummary
Applied 1 safe repository-guideline fix under
instrumentation/jaxws/jaxws-common/javaagentand committed it asc8ce8d93.Applied Changes
Style
File:
JaxWsCodeAttributesGetter.java:10Change: Removed the class-level `final` modifier from `JaxWsCodeAttributesGetter`.
Reason: The repository style guide says classes under `javaagent/src/main/` are internal implementation details and should not use class-level `final` for public-API finalization conventions.
Download code review diagnostics