Skip to content

chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.9 to 4.26.10 - #121

Merged
ImMohammad20000 merged 1 commit into
devfrom
dependabot/go_modules/dev/github.com/shirou/gopsutil/v4-4.26.10
Nov 2, 2026
Merged

ImMohammad20000 merged 1 commit into
devfrom
dependabot/go_modules/dev/github.com/shirou/gopsutil/v4-4.26.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/shirou/gopsutil/v4 from 4.26.9 to 4.26.10.

Release notes

Sourced from github.com/shirou/gopsutil/v4's releases.

v4.26.10

[!IMPORTANT]

Planned breaking change: disk.IOCounters ReadTime / WriteTime on Windows

This release includes #2164. In a future release, the Windows values of ReadTime and WriteTime will change significantly (seconds to milliseconds). The API will not change.

On Windows, ReadTime and WriteTime are currently in seconds. On Linux, macOS and FreeBSD they are in milliseconds. This is a bug (#2160).

  • In a future release, the default on Windows will change to milliseconds.
  • This will happen when psutil fixes the same bug (giampaolo/psutil#3002), or in February 2027 at the latest.
  • After that change, Windows values will be 1000x larger than now.

You can switch to milliseconds now with the new context key disk.WillBeDeletedOptInWindowsIOTimeMs:

ctx := context.WithValue(context.Background(), disk.WillBeDeletedOptInWindowsIOTimeMs, true)
stats, err := disk.IOCountersWithContext(ctx)
  • Without this key, nothing changes in this release.
  • Other platforms ignore this key.
  • This key will be removed when milliseconds become the default. Remove it from your code at that time.

(#2164)

What's Changed

disk

host

mem

process

New Contributors

Full Changelog: shirou/gopsutil@v4.26.9...v4.26.10

Commits
  • 21bfdde Merge pull request #2175 from shirou/dependabot/github_actions/actions/upload...
  • f8e33e9 Merge pull request #2173 from AdamMagued/feat-issue-2159-freebsd-cpu-temperature
  • 1f0aa95 Merge pull request #2164 from TastyHeadphones/fix/windows-disk-iotime-ms
  • c7ae6b9 Merge pull request #2178 from shirou/dependabot/go_modules/github.com/ebiteng...
  • 667e32b chore(deps): bump github.com/ebitengine/purego from 0.11.1 to 0.11.2
  • fe1ef66 disk/windows: test IO time unit selection through IOCounters' ctx
  • 4b1d69f disk/windows: fix TestDiskPerfTimeToSec fixture expectation
  • c1cc0a5 disk/windows: keep second-based IO times by default; opt in to ms
  • abba4f9 [sensors][freebsd]: handle -1 sysctl values, unexport deciKelvinToCelsius, an...
  • 779ae83 Merge pull request #2168 from houssemexo26/fix/loginctl-json-session-class
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 2, 2026
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 73c2d8ab-71b3-4aee-b017-bc57b627df1b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ImMohammad20000

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with dev! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@ImMohammad20000

Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.26.9 to 4.26.10.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v4.26.9...v4.26.10)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
  dependency-version: 4.26.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/dev/github.com/shirou/gopsutil/v4-4.26.10 branch from fb904ab to 45ed071 Compare November 2, 2026 09:51
@ImMohammad20000
ImMohammad20000 merged commit 68e8419 into dev Nov 2, 2026
1 of 2 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/dev/github.com/shirou/gopsutil/v4-4.26.10 branch November 2, 2026 09:59
Free-Guy-IR added a commit to Free-Guy-IR/node that referenced this pull request Nov 2, 2026
Upstream Drift found 15 unported items on 0dce28f (12 in scheduled run
41444668606 plus 3 Xray commits pushed today). Each is now recorded:
the dev-only node commits 03f66e9 (PasarGuard#122) and 68e8419 (PasarGuard#121) are pending
until a release carries them, ebb0d02 is superseded by b867989, the
Xray TUN WFP commits are not applicable to the Linux node whose pinned
core has no WFP option, 266df8c6 and f2f292c9 are superseded by their
squash 6cdd323a, and release v26.10.31 is pending until the pin moves.
Fourteen waivers the checker reports as matching nothing or no longer
needed are removed. docs/upstream-parity.md records the heads checked.
Free-Guy-IR added a commit to Free-Guy-IR/node that referenced this pull request Nov 3, 2026
Port of upstream PasarGuard#121, matching upstream release v0.5.7 (739eab9), which
pins the same gopsutil 4.26.10 and ebitengine/purego 0.11.2. go.mod and
go.sum match upstream's hunks exactly; tidy changes nothing further. Tidied
with Go 1.26.10. Every new go.sum line matches sum.golang.org.

The node calls gopsutil only from pkg/sysstats: cpu.Counts, cpu.Times,
mem.VirtualMemory and net.IOCounters. Between the two versions the cpu and
net packages are byte-identical, and the only mem change is mem_aix_cgo.go
(AIX swap used). The other changes are Windows disk times, the Linux host
users fallback to loginctl, FreeBSD sensors and process tty lookup, none of
which the node calls. purego 0.11.2 fixes a crash during CPU profiling on
macOS, FreeBSD and NetBSD; gopsutil uses purego only on darwin, and the
node ships for Linux.

No RED test: no code path the node calls changes on Linux, so no test can
fail on 4.26.9 and pass on 4.26.10.

GREEN: go build ./..., GOOS=linux go vet ./... and go mod verify pass.
pkg/sysstats passes with -race on darwin/arm64.

Upstream: 68e8419
Free-Guy-IR added a commit to Free-Guy-IR/node that referenced this pull request Nov 3, 2026
Upstream released node v0.5.7 (739eab9) on 2026-11-03 with five commits
after v0.5.6.

- 03f66e9 (PasarGuard#122, grpc 1.85.0) and 68e8419 (PasarGuard#121, gopsutil 4.26.10) are
  ported by trailer, so their dev-only pending waivers go.
- ebb0d02 (the WireGuard E2E AppArmor fix) stays superseded; its waiver no
  longer says it is in no upstream tag, since v0.5.7 contains it.
- 81af68e (update dependencies) is pending. It refreshes indirect modules
  for upstream's xray-core pseudo-version, which the fork does not take; the
  waiver names the modules outside the fork's graph and the ones inside it
  that are owed a port with their own test run.
- 739eab9 (the v0.5.7 version bump) is pending as the release tracker, as
  675bdaa is for v0.5.6.
Free-Guy-IR added a commit to Free-Guy-IR/node that referenced this pull request Nov 11, 2026
…s form, and correct three stale rows

The drift check now reports upstream PasarGuard#100 (3be63e1) as ported by
the cherry-pick line of 9f89151 and 4675fbc and said its superseded
waiver was no longer needed, so that row is gone. The PasarGuard#114 row names
the tests' new place, upstream's config_tobytes_test.go (c936200,
f02a59a), and a dated section records the evidence for both.

Corrected after re-checking each fact on 2026-11-11:
- the 36dc7a4 waiver said the fork had not taken PasarGuard#64; c755202 ported
  it on 2026-11-10 without upstream's .gitlab-ci.yml, and
  git log origin/main -- .gitlab-ci.yml is empty;
- PasarGuard#105 (25a8d74) was written as released in v0.5.6;
  git for-each-ref --contains lists upstream tags v0.5.5, v0.5.6 and
  v0.5.7;
- the PasarGuard#121 and PasarGuard#122 rows still said dev-only; v0.5.7 contains both,
  and 62059d0 and bdd91ef ported them on 2026-11-03, after the
  release.

DRIFT_COMPONENTS=node bash scripts/upstream_drift.sh exits 0 with
0 unported items, with DRIFT_TODAY unset and with 2026-11-21.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant