Skip to content

[deps] Platform: Update Rust crate sysinfo to 0.34.0 #14265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 14, 2025

This PR contains the following updates:

Package Type Update Change
sysinfo workspace.dependencies minor 0.33.1 -> 0.34.0

Release Notes

GuillaumeGomez/sysinfo (sysinfo)

v0.34.2

  • FreeBSD: Fix segfault when refreshing processes.

v0.34.1

  • macOS: Remove forgotten debug print.

v0.34.0

  • multithread feature is disabled by default.
  • Add new Process methods: accumulated_cpu_time, exists, open_files and open_files_limit.
  • Process::wait method now returns Option<ExitStatus>.
  • Add new System methods: distribution_id_like and kernel_long_version.
  • Turn System::physical_core_count method into an associated function.
  • Make System::refresh_all and System::refresh_specifics methods remove dead processes.
  • Add new ProcessRefreshKind refresh: tasks.
  • Fix Group docs.
  • Implement Deserialize trait on DiskKind, MacAddr, IpNetwork, ProcessStatus, Signal and ThreadKind.
  • Implement FromStr trait on IpNetwork and MacAddr.
  • Implement Hash trait on DiskKind, MacAddr, ProcessStatus and Signal.
  • macOS: Removed processes are now correctly handled when refreshing processes.
  • macOS: Strenghten dist list refresh.
  • macOS: Fix internal cfg handling which triggered compilation failures in some specific cases.
  • Linux: max cgroups memory is more reliant in case of wrong input.
  • Linux: Fix processes tasks update.
  • Linux: Improve disks retrieval.
  • Windows: Fix antivirus considering programs using sysinfo as viruses by replacing uses of NtQueryInformationProcess with other "mainstream" Windows API.
  • Windows: Improve CPU usage computation efficiency.
  • FreeBSD: Improve process_procs when there is only one process to refresh.

Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from a team and dani-garcia April 14, 2025 00:44
Copy link
Contributor Author

renovate bot commented Apr 14, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: apps/desktop/desktop_native/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path apps/desktop/desktop_native/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `libc`.
    ... required by package `sysinfo v0.34.0`
    ... which satisfies dependency `sysinfo = "^0.34.0"` of package `desktop_core v0.0.0 (/tmp/renovate/repos/github/bitwarden/clients/apps/desktop/desktop_native/core)`
    ... which satisfies path dependency `desktop_core` (locked to 0.0.0) of package `desktop_napi v0.0.0 (/tmp/renovate/repos/github/bitwarden/clients/apps/desktop/desktop_native/napi)`
versions that meet the requirements `^0.2.171` are: 0.2.171

all possible versions conflict with previously selected packages.

  previously selected package `libc v0.2.169`
    ... which satisfies dependency `libc = "=0.2.169"` of package `desktop_core v0.0.0 (/tmp/renovate/repos/github/bitwarden/clients/apps/desktop/desktop_native/core)`
    ... which satisfies path dependency `desktop_core` (locked to 0.0.0) of package `desktop_napi v0.0.0 (/tmp/renovate/repos/github/bitwarden/clients/apps/desktop/desktop_native/napi)`

failed to select a version for `libc` which could resolve this conflict

Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.44%. Comparing base (b90ede0) to head (5d4157d).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14265      +/-   ##
==========================================
+ Coverage   36.86%   37.44%   +0.58%     
==========================================
  Files        3209     3181      -28     
  Lines       92545    90836    -1709     
  Branches    16600    16600              
==========================================
- Hits        34118    34018     -100     
+ Misses      56013    54404    -1609     
  Partials     2414     2414              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

0 participants