Skip to content

Review fixes for runtime-telemetry:javaagent#17031

Merged
trask merged 3 commits intomainfrom
otelbot/code-review-runtime-telemetry-javaagent
Apr 7, 2026
Merged

Review fixes for runtime-telemetry:javaagent#17031
trask merged 3 commits intomainfrom
otelbot/code-review-runtime-telemetry-javaagent

Conversation

@otelbot
Copy link
Copy Markdown
Contributor

@otelbot otelbot bot commented Mar 25, 2026

Automated code review of instrumentation/runtime-telemetry/javaagent.

claude-sonnet-4.6

Status File Category Note
Fixed JarAnalyzer:59 General seenUris used HashSet without synchronization; transform() is called from multiple class-loading threads concurrently — replaced with ConcurrentHashMap.newKeySet()
Fixed JarAnalyzer:80 Style public modifier on a method of a package-private class is redundant — removed
Fixed JarAnalyzer:214 Style Redundant null guards on AttributesBuilder.put() calls — put() is a no-op for null; removed guards and passed values directly
Reverted JarDetails General/Style Changes to JarDetails.java have been reverted per review feedback
Needs Manual Fix build.gradle.kts:12 Build test {} block sets experimental JVM arg otel.instrumentation.runtime-telemetry.experimental.package-emitter.enabled=true but the module has no test sources — configuration is dead; consider removing or moving tests here

View workflow run

Automated code review of instrumentation/runtime-telemetry/javaagent.
@otelbot otelbot bot requested a review from a team as a code owner March 25, 2026 08:06
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot revert all changes to this file

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.

Done. All changes to JarDetails.java have been reverted in cfd427e.

Copilot finished work on behalf of trask April 7, 2026 18:10
Copilot AI requested a review from trask April 7, 2026 18:10
@trask trask enabled auto-merge (squash) April 7, 2026 18:14
@trask trask merged commit 28aa4fc into main Apr 7, 2026
94 checks passed
@trask trask deleted the otelbot/code-review-runtime-telemetry-javaagent branch April 7, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants