You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(plugins): require rmcp 3.4 in mesh-llm-plugin and mesh-llm-host-runtime - #3208
Downstream plugin crates whose Cargo.lock pins rmcp 3.3.x fail to compile after updating mesh-llm-plugin (unresolved import rmcp::model::ServerConfig) because mesh-llm-plugin only requires rmcp = "3".
Diagnostics
rmcp::model::ServerConfig was introduced in rmcp 3.4.0 and adopted across mesh-llm-plugin (src/helpers.rs, src/internal_rpc.rs, src/runtime.rs, src/simple_plugin.rs) and mesh-llm-host-runtime (src/plugin/*, src/plugins/blobstore/mod.rs) in feat(skippy): split skippy from mesh #2099 (9ca2aacaa).
Both mesh/crates/mesh-llm-plugin/Cargo.toml and mesh/crates/mesh-llm-host-runtime/Cargo.toml kept version = "3".
The workspace Cargo.lock already resolves rmcp 3.4.1, so no lockfile change is needed.
Solution
Bump the rmcp version requirement from "3" to "3.4" in both mesh/crates/mesh-llm-plugin/Cargo.toml and mesh/crates/mesh-llm-host-runtime/Cargo.toml.
This raises the minimum rmcp version to 3.4 so downstream lockfiles can no longer keep an incompatible 3.3.x release. The workspace already resolves 3.4.1, so I see no merge risk.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the rmcp 3.4 requirement change in mesh-llm-plugin and mesh-llm-host-runtime. The changeset does exactly this: it changes both Cargo.toml files from rmcp "3" to "3.4". The title is spe…
Linked Issues check
Issue #3136 requires that mesh-llm-plugin's rmcp requirement match its use of the rmcp 3.4 API (rmcp::model::ServerConfig). At the reviewed head, mesh/crates/mesh-llm-plugin/Cargo.toml declares rmcp =…
Out of Scope Changes check
The PR also changes mesh/crates/mesh-llm-host-runtime/Cargo.toml from rmcp = "3" to "3.4" (+1/-1, features unchanged). The issue text names only mesh-llm-plugin. The PR description states that mesh-ll…
Full details: Title check
Explanation
The title names the rmcp 3.4 requirement change in mesh-llm-plugin and mesh-llm-host-runtime. The changeset does exactly this: it changes both Cargo.toml files from rmcp "3" to "3.4". The title is specific and matches the main change. It uses the conventional fix(plugins) prefix. The length of 75 characters is acceptable.
Full details: Linked Issues check
Explanation
Issue #3136 requires that mesh-llm-plugin's rmcp requirement match its use of the rmcp 3.4 API (rmcp::model::ServerConfig). At the reviewed head, mesh/crates/mesh-llm-plugin/Cargo.toml declares rmcp = { version = "3.4", features = ["server"] }. A Cargo resolver can no longer select rmcp 3.3.x for this crate, so the reported failure path is closed. The change is a manifest requirement, so no additional automated test is required by the issue. The issue's non-coding notes about the lockfile (already on 3.4.1) require no change. No unmet coding requirement remains.
Full details: Out of Scope Changes check
Explanation
The PR also changes mesh/crates/mesh-llm-host-runtime/Cargo.toml from rmcp = "3" to "3.4" (+1/-1, features unchanged). The issue text names only mesh-llm-plugin. The PR description states that mesh-llm-host-runtime also uses rmcp::model::ServerConfig (src/plugin/*, src/plugins/blobstore/mod.rs), so the same API-version mismatch applies to that crate. The change therefore addresses the same root cause and is not demonstrated to be unrelated. Limit: the host-runtime diff could not be read in this review (diff operation unavailable), so the ServerConfig usage in host-runtime rests on the PR description and not on independent code inspection. The PR description reports test and clippy results only for mesh-llm-plugin; no host-runtime build result is reported.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 17df79a6-ff0e-485a-a601-27cebb340c93
Commits
Reviewing files that changed from the base of the PR and between 5be31fb and bbe723c.
Files selected for processing: 2
mesh/crates/mesh-llm-host-runtime/Cargo.toml
mesh/crates/mesh-llm-plugin/Cargo.toml
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
…untime
Both mesh-llm-plugin and mesh-llm-host-runtime import rmcp::model::ServerConfig,
which rmcp added in 3.4.0, but both manifests still declared rmcp = "3".
Downstream plugin crates whose Cargo.lock pinned rmcp 3.3.x failed to compile
when updating mesh-llm-plugin.
Bump the rmcp requirement to "3.4" in both Cargo.toml files. Cargo.lock
already resolves rmcp 3.4.1 so the lockfile is unchanged.
Fixes#3136
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
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.
Original problem
Downstream plugin crates whose
Cargo.lockpinsrmcp3.3.x fail to compile after updatingmesh-llm-plugin(unresolved import rmcp::model::ServerConfig) becausemesh-llm-pluginonly requiresrmcp = "3".Diagnostics
rmcp::model::ServerConfigwas introduced inrmcp3.4.0 and adopted acrossmesh-llm-plugin(src/helpers.rs,src/internal_rpc.rs,src/runtime.rs,src/simple_plugin.rs) andmesh-llm-host-runtime(src/plugin/*,src/plugins/blobstore/mod.rs) in feat(skippy): split skippy from mesh #2099 (9ca2aacaa).mesh/crates/mesh-llm-plugin/Cargo.tomlandmesh/crates/mesh-llm-host-runtime/Cargo.tomlkeptversion = "3".Cargo.lockalready resolvesrmcp3.4.1, so no lockfile change is needed.Solution
Bump the
rmcpversion requirement from"3"to"3.4"in bothmesh/crates/mesh-llm-plugin/Cargo.tomlandmesh/crates/mesh-llm-host-runtime/Cargo.toml.Fixes #3136
Validation
cargo metadata --locked --format-version 1passed with zeroCargo.lockchanges.cargo test -p mesh-llm-plugin --lib --locked: 95 passed, 0 failed.cargo clippy -p mesh-llm-plugin --all-targets --locked -- -D warnings: passed (0 warnings).Summary by CodeRabbit