feat: Upgrade dependencies to the latest version and adapt, fix disk read hangs.#364
Merged
zdz merged 18 commits intozdz:masterfrom Mar 9, 2026
Merged
feat: Upgrade dependencies to the latest version and adapt, fix disk read hangs.#364zdz merged 18 commits intozdz:masterfrom
zdz merged 18 commits intozdz:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
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
sysinfoAPIs 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.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Upgrade dependencies to the latest version and adapt, fix disk read hangs.