Repository navigation
Bump the crates to 0.7.0 - #268
Merged
Merged
Conversation
All three crates share one version. A minor bump: since 0.6.1 the server gained the deploy tools (bundle host, upload store, pipeline, MCP tools, remote serving and metrics, #261, #265, #266), the cap on the MCP request body behind the bearer gate (#241), vetted-connector branding surfaced to Internet Identity (#200), and get_canister_candid now carries the interface text in its structured output (#229). The rc-0.7.0 candidate needs this on main first: deploy-candidate.yml and publish-crate.yml both refuse a tag whose version disagrees with every Cargo.toml. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
#266 rewrote the icp_deploy description and hard-coded its step (2) as "upload that bundle via icp_deploy_upload". The local server does not list that tool: it takes the bundle as `bundle_path`. The sentence that IcDeployTools::tools() put in per server was anchored on text the rewrite removed, so it silently stopped being put in, and a_server_lists_the_bundle_argument_it_takes has failed on main since. Step (2) is now the anchor. The description says "hand that bundle to this tool", and each server replaces that with its own way in: upload via `icp_deploy_upload` on a server with an upload store, the bundle's absolute path as `bundle_path` on one without. The hosted server's text is what #266 wrote, with the tool name in backticks. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
`imcp2 = "0.6"` matches 0.6.x only, and the README ships in the crate, so a reader of 0.7.0's page would be told to depend on the release before it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
Review asked for the description's text back. The tool's description in the source says step (2) as #266 wrote it, "upload that bundle via icp_deploy_upload", and the hosted server lists it unchanged. Only a server without an upload store, imcp2-local, puts "pass that bundle's absolute path as `bundle_path`" in its place, since it lists no icp_deploy_upload. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
aterga
approved these changes
Nov 19, 2026
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the 0.7.0 version updates and deployment-instruction corrections.
No open issues 🎉
What changed in this PR
Prepares imcp2, imcp2-core, and imcp2-local for a 0.7.0 release candidate and restores accurate deployment instructions for the local server.
Changes:
- Aligns crate versions, the workspace dependency requirement, and lockfile entries at 0.7.0.
- Updates the README dependency example to use 0.7.
- Corrects local bundle-path instructions while preserving hosted upload instructions, with test assertions for both server types.
| File | Description |
|---|---|
README.md |
Updates the library dependency example to 0.7. |
crates/imcp2-local/Cargo.toml |
Bumps the local server to 0.7.0. |
crates/imcp2-core/src/deploy/mod.rs |
Fixes server-specific bundle instructions and updates regression assertions. |
crates/imcp2-core/Cargo.toml |
Bumps the core crate to 0.7.0. |
Cargo.toml |
Bumps the root crate and workspace core dependency to 0.7.0. |
Cargo.lock |
Synchronizes all three workspace package versions. |
Review effort: Max
4 of 7 tasks
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.
Summary
Bumps
imcp2,imcp2-coreandimcp2-localfrom 0.6.1 to 0.7.0, so a 0.7.0 release candidate can be cut.deploy-candidate.ymlandpublish-crate.ymlboth refuse a tag whose version disagrees with everyCargo.toml, andmainstill says 0.6.1.This is a minor bump: since 0.6.1 the server gained the deploy tools (bundle host, upload store, pipeline, MCP tools, remote serving and metrics, #261, #265, #266), the cap on the MCP request body behind the bearer gate (#241), vetted-connector branding surfaced to Internet Identity (#200), and
get_canister_candidnow carries the interface text in its structured output (#229).It also fixes the test that has failed on
mainsince #266, becausepublish-crate.ymlruns the test suite and would refuse to publish 0.7.0 otherwise. #266 rewrote theicp_deploydescription with step (2) as "upload that bundle via icp_deploy_upload". imcp2-local doesn't list that tool; it takes the bundle asbundle_path. The per-server sentence thatIcDeployTools::tools()inserts was anchored on text the rewrite removed, so it stopped being inserted, anddeploy::tests::a_server_lists_the_bundle_argument_it_takescaught it. The description keeps #266's wording unchanged, and the hosted server lists it as written. A server without an upload store (imcp2-local) replaces step (2) with "pass that bundle's absolute path asbundle_path".Note on the existing
rc-0.7.0tag:deploy-candidate.ymlonly acceptsrc-X.Y.Z-Ntags (^rc-([0-9]+\.[0-9]+\.[0-9]+)-([0-9]+)$), sorc-0.7.0fails that check even with this bump. It also points at 614f16b, which is before these commits. Once this is merged, cut the candidate on the merge commit asrc-0.7.0-1:Related issues
None.
Changes
Cargo.toml: package version, and theimcp2-coreworkspace pin, set to 0.7.0crates/imcp2-core/Cargo.toml,crates/imcp2-local/Cargo.toml: version set to 0.7.0Cargo.lock: only the three workspace entries change (cargo update --workspace)README.md: the library snippet now saysimcp2 = "0.7"("0.6"excludes 0.7.0, and the README ships in the crate)crates/imcp2-core/src/deploy/mod.rs: imcp2-local'sicp_deploydescription says to pass the bundle asbundle_pathagain, rather than namingicp_deploy_upload; the test checks both servers' step (2)Testing
cargo test --locked --workspace --all-targets: all 6 test binaries pass (the deploy test above failed before the fix, reproduced locally)cargo fmt --all -- --checkcargo metadata --no-deps --lockedreports 0.7.0 forimcp2-core,imcp2andimcp2-localcargo clippy --all-targets: oneawait_holding_lockerror in a test incrates/imcp2-core/src/deploy/uploads.rs. It is already onmain, this PR doesn't touch it, and CI doesn't run clippy.npm test --prefix monitoring/mcp-status(not applicable)Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX