Skip to content

Module cleanup: batch of 6 modules (run 25845244718)#18741

Closed
otelbot-java-instrumentation[bot] wants to merge 7 commits into
mainfrom
otelbot/module-cleanup-batch-25845244718
Closed

Module cleanup: batch of 6 modules (run 25845244718)#18741
otelbot-java-instrumentation[bot] wants to merge 7 commits into
mainfrom
otelbot/module-cleanup-batch-25845244718

Conversation

@otelbot-java-instrumentation
Copy link
Copy Markdown
Contributor

Automated module-cleanup batch.

Modules in this batch

  • oshi:testing
  • play-mvc-2.6:javaagent
  • play-ws-common-1.0:testing
  • pulsar-2.8:javaagent
  • quarkus-resteasy-reactive:javaagent
  • r2dbc-1.0:testing

Cleanup for oshi:testing

  • Inline non-semconv state AttributeKey constant in AbstractSystemMetricsTest; replace class-level private static final field with inline stringKey("state") calls per testing-general-patterns.md rule that non-semconv keys must not be extracted into constants

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Cleanup for play-mvc-2.6:javaagent

  • Remove static import of updateSpan from Play26Singletons; use qualified call instead, since updateSpan is a verb-named helper that performs work and is not a singleton accessor

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Cleanup for play-ws-common-1.0:testing

  • Replace static AutoCleanupExtension with plain @afterall in PlayWsClientBaseTest and all subclasses to fix cleanup leaks when multiple subclasses run in the same JVM fork

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Cleanup for pulsar-2.8:javaagent

  • Reduce visibility of PulsarNetClientAttributesGetter from public to package-private (final class); it is only instantiated within the same telemetry package and is not directly referenced from any advice method

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Cleanup for quarkus-resteasy-reactive:javaagent

  • Add @nullable to normalize() uriTemplate parameter since callers pass potentially-null values from target.getClassPath() and target.getPath()

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Cleanup for r2dbc-1.0:testing

  • Convert static container and port fields to instance fields to align with @testinstance(PER_CLASS) lifecycle, preventing cross-subclass state sharing

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

otelbot Bot and others added 6 commits May 14, 2026 02:42
- Inline non-semconv `state` AttributeKey constant in AbstractSystemMetricsTest; replace class-level `private static final` field with inline `stringKey("state")` calls per testing-general-patterns.md rule that non-semconv keys must not be extracted into constants

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Remove static import of updateSpan from Play26Singletons; use qualified call instead, since updateSpan is a verb-named helper that performs work and is not a singleton accessor

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Replace static AutoCleanupExtension with plain @afterall in PlayWsClientBaseTest and all subclasses to fix cleanup leaks when multiple subclasses run in the same JVM fork

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Reduce visibility of PulsarNetClientAttributesGetter from public to package-private (final class); it is only instantiated within the same telemetry package and is not directly referenced from any advice method

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add @nullable to normalize() uriTemplate parameter since callers pass potentially-null values from target.getClassPath() and target.getPath()

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Convert static container and port fields to instance fields to align with @testinstance(PER_CLASS) lifecycle, preventing cross-subclass state sharing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 14, 2026 06:29
@otelbot-java-instrumentation otelbot-java-instrumentation Bot requested a review from a team as a code owner May 14, 2026 06:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@trask
Copy link
Copy Markdown
Member

trask commented May 14, 2026

Closing in favor of #18750

@trask trask closed this May 14, 2026
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