Repository navigation
fix(ide-host): 恢复新旧 MCP 客户端的 stdio 协议回归测试 - #203
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
This was referenced Nov 26, 2026
1lck
approved these changes
Nov 27, 2026
Contributor
Author
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Refs 1lck/Lithe-IDEA#2408
Summary
契约中的 Node 验证脚本随旧客户端删除,CI 没有启动真实的
lithe-mcp验证协议。新增三个独立 stdio 会话,覆盖旧版初始化、新版直接发现以及新版初始化后发现。每个会话按 macOS 和 Windows 的连接描述分别核对公开工具、四个 Build 工具及ttlMs: 0、cacheScope: "private"。删除协议 fixture 中过时的固定数量 17,从连接公开的工具清单推导期望结果。契约给出可直接运行的新命令。测试使用本包的
CARGO_BIN_EXE_lithe-mcp,因此放在lithe-ide-host,在 Linux 和 Windows CI 为它启用mcpfeature。验证
cargo test --locked --manifest-path rust/Cargo.toml -p lithe-ide-host --features mcp,15 个原有测试和 3 个新增测试通过。cargo fmt --check及该 crate 全 target、全 feature 的 Linux Clippy 通过。Link to Devin session: https://app.devin.ai/sessions/44c3660e4d064e74b34d1b0d840af377
Open in Devin Desktop: https://app.devin.ai/desktop/session/44c3660e4d064e74b34d1b0d840af377?variant=devin
Requested by: @1lck