Skip to content

feat: Upgrade dependencies to the latest version and adapt, fix disk read hangs.#364

Merged
zdz merged 18 commits intozdz:masterfrom
smallerqiu:master
Mar 9, 2026
Merged

feat: Upgrade dependencies to the latest version and adapt, fix disk read hangs.#364
zdz merged 18 commits intozdz:masterfrom
smallerqiu:master

Conversation

@smallerqiu
Copy link
Contributor

feat: Upgrade dependencies to the latest version and adapt, fix disk read hangs.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades Rust dependencies across the workspace (Axum/Tonic/Reqwest/Sysinfo/etc.) and adapts server/client code plus release automation to work with the newer APIs, including changes aimed at avoiding disk stats hangs.

Changes:

  • Bump crate versions and modernize dependency versions (server/client/common) with corresponding API adaptations.
  • Update client system sampling (CPU/network/disk collection) for newer sysinfo APIs and tweak disk aggregation logic.
  • Revise GitHub Actions release workflow to build/strip/compress and publish platform artifacts.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
server/src/main.rs Updates Axum route parameter syntax for the upgraded Axum version.
server/src/jwt.rs Removes async_trait usage for FromRequestParts implementation under newer Axum.
server/src/auth.rs Same as above for Basic/Admin/Host auth extractors.
server/Cargo.toml Dependency/version upgrades; adds per-crate release profile section.
common/build.rs Switches protobuf build from tonic_build to tonic_prost_build API.
common/Cargo.toml Upgrades tonic/prost/build deps to match new codegen tooling.
client/src/sys_info.rs Updates CPU/network/disk sampling for sysinfo 0.38 and changes disk aggregation/reporting.
client/src/grpc.rs Updates TLS/mTLS channel setup and certificate loading for newer tonic/rustls.
client/Cargo.toml Dependency/version upgrades; adds per-crate release profile section.
Cargo.lock Lockfile refresh for the dependency upgrades.
.github/workflows/release.yml Reworks release build steps, artifact packaging, and upload conditions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

smallerqiu and others added 6 commits March 9, 2026 09:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI added a commit that referenced this pull request Mar 9, 2026
Co-authored-by: zdz <152173+zdz@users.noreply.github.com>
zdz added a commit that referenced this pull request Mar 9, 2026
Co-authored-by: zdz <152173+zdz@users.noreply.github.com>
@zdz zdz merged commit f004e3a into zdz:master Mar 9, 2026
1 check failed
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.

3 participants