Skip to content

[client] Update gopsutil to v4#6688

Merged
lixmal merged 2 commits into
0.74.xfrom
upgrade-process-version
Jul 8, 2026
Merged

[client] Update gopsutil to v4#6688
lixmal merged 2 commits into
0.74.xfrom
upgrade-process-version

Conversation

@mlsmaycon

@mlsmaycon mlsmaycon commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Describe your changes

gopsutil v3 can be much slower to retrieve processes on macOS.

--- scan A: gopsutil v3 ---
v3 run 1: 626 processes, 421 paths resolved, target running=true, took 5.673s 

--- scan B: gopsutil v4  ---
v4 run 1: 623 processes, 610 paths resolved, target running=true, took 6ms 

Issue ticket number and link

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • This change does not modify the public API, gRPC protocols, functionality behavior, CLI / service flags, or introduce a new feature — OR I have discussed it with the NetBird team beforehand (link the issue / Slack thread in the description). See CONTRIBUTING.md.

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • Chores
    • Updated a system process library to a newer major version for better dependency consistency.
    • Aligned test and runtime references with the same updated library version.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9c38e088-c425-4fe8-9c67-bb493c2e7da6

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:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch upgrade-process-version

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

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Release artifacts

Built for PR head a6c8f75 in workflow run #16535.

Artifact Link
All release artifacts Download
Linux packages Download
Windows packages Download
macOS packages Download
UI artifacts Download
UI macOS artifacts Download

GHCR images (amd64)

This comment is updated by the Release workflow. Artifact links expire according to the workflow retention policy.

@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@lixmal lixmal merged commit 816d806 into 0.74.x Jul 8, 2026
60 of 61 checks passed
@lixmal lixmal deleted the upgrade-process-version branch July 8, 2026 08:15
@coderabbitai coderabbitai Bot mentioned this pull request Jul 8, 2026
8 tasks
theodorsm added a commit that referenced this pull request Jul 8, 2026
* [client] Update gopsutil to v4 (#6688)
* [client] Fix hanging status command during relay dial (#6694)

---------

Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
@fosskar fosskar Bot mentioned this pull request Jul 9, 2026
mlsmaycon added a commit that referenced this pull request Jul 11, 2026
* [management] fix: prevent reverse proxy domain from being pushed as DNS search domain by @blaugrau90 in #6498
* [client] Recover from rosenpass key desync by @lixmal in #6714
* [client] Bump golang.org/x/crypto to v0.54.0 by @lixmal in #6709
* [client] fix MDM managementURL conflict on default-port URL echo by @riccardomanfrin in #6672
* [client] Update gopsutil to v4 by @mlsmaycon in #6688
* [client] Fix hanging status command during relay dial by @theodorsm in #6694

---------

Co-authored-by: Theodor Midtlien <theodor@midtlien.com>
Co-authored-by: blaugrau90 <61945343+blaugrau90@users.noreply.github.com>
Co-authored-by: Viktor Liu <17948409+lixmal@users.noreply.github.com>
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