Repository navigation
fix: keep queries running if sysinfo cannot read memory - #956
Merged
Merged
Conversation
Bumps the cargo group with 2 updates in the /src-tauri directory: [rmcp](https://github.com/modelcontextprotocol/rust-sdk) and [sysinfo](https://github.com/GuillaumeGomez/sysinfo). Updates `rmcp` from 3.7.0 to 3.8.0 - [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/rust-sdk/blob/main/release-plz.toml) - [Commits](modelcontextprotocol/rust-sdk@rmcp-v3.7.0...rmcp-v3.8.0) Updates `sysinfo` from 0.39.6 to 0.40.1 - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/main/CHANGELOG.md) - [Commits](GuillaumeGomez/sysinfo@v0.39.6...v0.40.1) --- updated-dependencies: - dependency-name: rmcp dependency-version: 3.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: sysinfo dependency-version: 0.40.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo ... Signed-off-by: dependabot[bot] <[email protected]>
sysinfo 0.40 makes System::new fallible. The memory guard is a safety net, so if it cannot open the platform's memory information it now logs a warning and steps aside rather than stopping every query. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
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.
Takes the
rmcp3.8.0 andsysinfo0.40.1 bumps from #954 and fixes the compile failure that kept that PR red. It replaces #954.What changed
rmcp3.7.0 → 3.8.0 andsysinfo0.39.2 → 0.40.1. Both were published more than seven days ago.sysinfoAPI change:System::new()now returns aResult, so bothMemoryGuards hold anOption<System>.Decision to check
If
System::new()fails, the guard logs a warning and queries run without it. The guard is a safety net against a huge fetch using up memory, so losing it shouldn't stop every query. The cost is that on such a machine, a very large result is no longer stopped early.Testing
Clippy passes,
mas-coreandmas-sqlitetests pass, andcargo auditreports nothing beyond the two acceptedquick-xmladvisories. The failure path isn't covered by a test, becauseSystem::new()can't be made to fail from one.🤖 Generated with Claude Code