Review fixes for runtime-telemetry:javaagent#17031
Merged
Conversation
Automated code review of instrumentation/runtime-telemetry/javaagent.
trask
reviewed
Apr 7, 2026
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/d4f8bbb9-7359-4940-84ef-b82d8a0cf90b Co-authored-by: trask <218610+trask@users.noreply.github.com>
trask
approved these changes
Apr 7, 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 of
instrumentation/runtime-telemetry/javaagent.claude-sonnet-4.6
seenUrisusedHashSetwithout synchronization;transform()is called from multiple class-loading threads concurrently — replaced withConcurrentHashMap.newKeySet()publicmodifier on a method of a package-private class is redundant — removedAttributesBuilder.put()calls —put()is a no-op for null; removed guards and passed values directlyJarDetails.javahave been reverted per review feedbacktest {}block sets experimental JVM argotel.instrumentation.runtime-telemetry.experimental.package-emitter.enabled=truebut the module has no test sources — configuration is dead; consider removing or moving tests hereView workflow run