Skip to content

Update pinned latest dep versions#18478

Merged
trask merged 4 commits into
mainfrom
otelbot/update-latest-dep-versions
May 2, 2026
Merged

Update pinned latest dep versions#18478
trask merged 4 commits into
mainfrom
otelbot/update-latest-dep-versions

Conversation

@otelbot

@otelbot otelbot Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

Auto-generated update of pinned latest dependency versions used by testLatestDeps builds.

@otelbot otelbot Bot requested a review from a team as a code owner May 1, 2026 05:32
trask added 3 commits May 1, 2026 06:29
…tration

oshi 7.0.0 removes the deprecated OSProcess#getResidentSetSize() (replaced by
getResidentMemory(), added in 6.11.0) and the static SystemInfo entry points
getCurrentPlatformEnum()/getCurrentPlatform(). Both removals broke the oshi
muzzle and test latest-deps jobs.

* ProcessMetrics looks up getResidentMemory()/getResidentSetSize() reflectively
  so the bytecode does not hard-reference either method, keeping muzzle happy
  across the whole supported version range (5.0.0+).
* SystemInfoInstrumentation now advises the no-arg SystemInfo constructor, and
  OshiMetricsInstaller triggers registration by instantiating SystemInfo via
  reflection. Both work uniformly for old and new oshi versions.
@trask trask merged commit 2e73f4d into main May 2, 2026
261 of 265 checks passed
@trask trask deleted the otelbot/update-latest-dep-versions branch May 2, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants