Repository navigation
fix(toolchains): 解析全局提供者查询结果 - #111
Merged
Merged
Conversation
This was referenced Nov 19, 2026
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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明
用户在没有打开项目时也可从插件提供的安装中获得有效工具链。原解析器在处理每条结果时仍把空工作区根当作本机路径规范化,导致既有全局查询的合法结果被拒绝。全局解析现在消费同一代次的查询,要求其工作区和上下文均为空。工作区解析仍要求相同根目录和作用域,保留原生文件事实、排除根与路径校验。没有新增插件方法或能力版本。
验证
plugin.toolchain.invalidParams,修改后验证全局选择、来源、跨作用域和上下文拒绝。cargo test --workspace --locked --manifest-path rust/Cargo.toml --features lithe-remote/server --no-fail-fast的 2269 项测试和文档测试通过。