Skip to content

consolidate gopsutil v1/v3 -> v4 (#623)#623

Closed
podtserkovskiy wants to merge 1 commit into
facebookincubator:mainfrom
podtserkovskiy:export-D108080810
Closed

consolidate gopsutil v1/v3 -> v4 (#623)#623
podtserkovskiy wants to merge 1 commit into
facebookincubator:mainfrom
podtserkovskiy:export-D108080810

Conversation

@podtserkovskiy

@podtserkovskiy podtserkovskiy commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary:

Migrates 21 fbcode files from gopsutil v1 or v3 import paths to v4. Beyond
the import-only swap planned, two v4 API changes required caller updates:
disk.PartitionStat.Opts is now []string (was comma-separated string), and
mem.VirtualMemoryStat renamed SReclaimable/SUnreclaim to Sreclaimable/Sunreclaim.
6 files remain on v1 paths: host/load subpackages and disk.SectorSize are
not available in the fbcode v4 vendor tree.

Reviewed By: siutsin

Differential Revision: D108080810

@meta-codesync

meta-codesync Bot commented Jun 10, 2026

Copy link
Copy Markdown

@podtserkovskiy has exported this pull request. If you are a Meta employee, you can view the originating Diff in D108080810.

Summary:

Migrates 21 fbcode files from gopsutil v1 or v3 import paths to v4. Beyond
the import-only swap planned, two v4 API changes required caller updates:
disk.PartitionStat.Opts is now []string (was comma-separated string), and
mem.VirtualMemoryStat renamed SReclaimable/SUnreclaim to Sreclaimable/Sunreclaim.
6 files remain on v1 paths: host/load subpackages and disk.SectorSize are
not available in the fbcode v4 vendor tree.

Reviewed By: siutsin

Differential Revision: D108080810
@meta-codesync meta-codesync Bot changed the title consolidate gopsutil v1/v3 -> v4 consolidate gopsutil v1/v3 -> v4 (#623) Jun 10, 2026
@meta-codesync meta-codesync Bot closed this in e5e67de Jun 10, 2026
@meta-codesync

meta-codesync Bot commented Jun 10, 2026

Copy link
Copy Markdown

This pull request has been merged in e5e67de.

@meta-codesync meta-codesync Bot added the Merged label Jun 10, 2026
meta-codesync Bot pushed a commit to facebook/time that referenced this pull request Jun 10, 2026
Summary:
X-link: facebookincubator/TTPForge#623

Migrates 21 fbcode files from gopsutil v1 or v3 import paths to v4. Beyond
the import-only swap planned, two v4 API changes required caller updates:
disk.PartitionStat.Opts is now []string (was comma-separated string), and
mem.VirtualMemoryStat renamed SReclaimable/SUnreclaim to Sreclaimable/Sunreclaim.
6 files remain on v1 paths: host/load subpackages and disk.SectorSize are
not available in the fbcode v4 vendor tree.

Reviewed By: siutsin

Differential Revision: D108080810

fbshipit-source-id: 8008e03fcee1602639be40a24a21f9c33b10633f
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.

1 participant