Skip to content

fix(plugins): require rmcp 3.4 in mesh-llm-plugin and mesh-llm-host-runtime - #3208

Merged
i386 merged 1 commit into
mainfrom
kleinbem/rmcp-3-4-bound
Nov 29, 2026
Merged

i386 merged 1 commit into
mainfrom
kleinbem/rmcp-3-4-bound

Conversation

@kleinbem

@kleinbem kleinbem commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Original problem

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.

Fixes #3136

Validation

  • cargo metadata --locked --format-version 1 passed with zero Cargo.lock changes.
  • 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

  • Chores
    • Updated the versions of an internal dependency.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2bbdda27-5834-4696-b6a2-80637b19ceaf
Commits

Reviewing files that changed from the base of the PR and between bbe723c and 5d6c4d1.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

Both the host runtime and plugin Cargo manifests change their rmcp version requirement from 3 to 3.4. Their enabled features remain unchanged.

Changes: rmcp Version Requirement

Layer / File(s) Summary
Update rmcp requirements
mesh/crates/mesh-llm-host-runtime/Cargo.toml, mesh/crates/mesh-llm-plugin/Cargo.toml
Both manifests change the rmcp version requirement from 3 to 3.4. The enabled features remain unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix · Severity of issue fixed: Medium

Merge Risk: Minimal · previous review bbe72

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed 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 Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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.

@ndizazzo ndizazzo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved. No findings from static review; builds and tests were not run.

…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
@kleinbem
kleinbem force-pushed the kleinbem/rmcp-3-4-bound branch from bbe723c to 5d6c4d1 Compare November 28, 2026 23:22
@i386
i386 merged commit 9b1da1a into main Nov 29, 2026
15 checks passed
@i386
i386 deleted the kleinbem/rmcp-3-4-bound branch November 29, 2026 03:06
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.

mesh-llm-plugin uses rmcp 3.4 API but asks for rmcp 3

3 participants