Skip to content

fix: keep queries running if sysinfo cannot read memory - #956

Merged
EVWorth merged 2 commits into
devfrom
chore/rmcp-sysinfo
Nov 9, 2026
Merged

EVWorth merged 2 commits into
devfrom
chore/rmcp-sysinfo

Conversation

@EVWorth

@EVWorth EVWorth commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Takes the rmcp 3.8.0 and sysinfo 0.40.1 bumps from #954 and fixes the compile failure that kept that PR red. It replaces #954.

What changed

  • Bumps: rmcp 3.7.0 → 3.8.0 and sysinfo 0.39.2 → 0.40.1. Both were published more than seven days ago.
  • sysinfo API change: System::new() now returns a Result, so both MemoryGuards hold an Option<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-core and mas-sqlite tests pass, and cargo audit reports nothing beyond the two accepted quick-xml advisories. The failure path isn't covered by a test, because System::new() can't be made to fail from one.

🤖 Generated with Claude Code

dependabot Bot and others added 2 commits November 8, 2026 15:58
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]>
@EVWorth
EVWorth merged commit 977f7ed into dev Nov 9, 2026
16 checks passed
@EVWorth
EVWorth deleted the chore/rmcp-sysinfo branch November 9, 2026 01:18
@github-actions github-actions Bot mentioned this pull request Nov 9, 2026
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.

1 participant