Repository navigation
fix(build): 在多项目工作区解析文件运行实例(#2122) - #150
Merged
Merged
Conversation
24 of 28 tasks
Mucheen
marked this pull request as ready for review
November 21, 2026 04:45
只在工作目录没有匹配实例时解析文件回退。识别等价的工作区根路径,按符号链接实际目标定位项目,并为跨项目和工作区外的链接补回归。
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
改动说明 / What changes
在包含多个构建子项目的工作区,从运行配置选中一个子项目的脚本,留空工作目录后可以保存,但启动时 Core 只按工作区根目录找实例,返回
plugin.build.invalidSelection。指定子项目目录后可运行。类型专属 / Fix
plugin.build.invalidSelection失败,修复后通过,验证了默认目录下的脚本归属和显式工作目录优先。范围检查 / Scope checks
build.runConfigurationPlan的既有实例选择语义,涉及 API-29。桌面固定修订待 Core 合入后更新。验证 / Verification
cargo test --locked --manifest-path rust/Cargo.toml --workspace --features lithe-remote/servercargo test --locked --manifest-path rust/Cargo.toml -p lithe-core --lib tests::plugin_run_typescargo fmt --manifest-path rust/Cargo.toml --all --checknode shared/plugins/scripts/verify-docs.mjs和node scripts/rust-core/verify-platform-tests.mjs| Windows x64 目标
cargo clippy -p lithe-build -p lithe-core --all-targets --target x86_64-pc-windows-msvc -- -D warnings| 通过 || 真包联合验证 | 桌面主线
135420e72链接本 PR 后,Conda 清单场景 6.88 秒,多项目脚本和模块 6.85 秒均通过。脚本留空工作目录,使用所属子项目的解释器,工作目录保持工作区根。模块使用显式目录 |Windows 原生工作台待验收。
提交前确认 / Final checks
66a14762切出,目标main。