Repository navigation
fix(windows): 补齐 PATH 工具链与批处理构建模型回归测试 (#2042) - #2064
Merged
Merged
Conversation
Match the new commandModel signature from #2065 and keep the synthetic model test independent of a Run window feed.
Mucheen
marked this pull request as ready for review
November 17, 2026 01:32
- 合成工具只读 LITHE_TEST_VM_HOME,合成构建工具不读环境变量,清空 JAVA_HOME 没有作用,宿主测试里也不该出现 Java 相关描述 - “Windows 工具链必须覆盖用户目录和 shell 来源”一节从测试计时 Note 移到工具链设置与 Build 解析 Note,测试计时 Note 恢复原样 - 功能矩阵去掉“未设置 JAVA_HOME”的说法,notes 不再重复 verification 里的 #2042 句子
1 task done
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
背景 / Why
#2032 暴露了两个 Windows 测试缺口。用户只把工具放在 PATH 上时,候选列表可能漏掉安装。构建工具通过带空格路径下的批处理文件启动时,参数可能丢失,导致模型加载失败。#2040 已修复产品行为,本 PR 将对应的集成场景加入现有 Windows CI。
改动 / Changes
LITHE_TEST_VM_HOME(t.Setenv登记恢复后再os.Unsetenv)。JAVA_HOME的清理。合成工具不读JAVA_HOME,清理它不影响结果,还会让宿主测试带上具体语言的词。2026-11-09-viva-toolchain-settings-and-build-resolution.md,新增“Windows 回归测试覆盖用户目录和 shell 来源”一节、被否方案和验证),计时 Note 恢复原样;两个功能矩阵条目删掉JAVA_HOME的说法和 notes 里与 verification 重复的一句。不在本 PR 范围内 / Out of scope
#2042 的打包平台覆盖告警归 Rust Core 仓库。这里提交桌面回归覆盖,状态继续由 #2042 跟踪。
类型专属:fix
复现与根因
检查项
2026-11-09-viva-toolchain-settings-and-build-resolution.md。范围检查 / Scope checks
功能矩阵 / Feature matrix
插件归属 / Plugin ownership
UI 验证 / UI evidence
N/A:覆盖生产候选查询和命令模型入口,无界面改动。
统一日志系统 / Structured logging
N/A:测试断言现有操作的完成记录,无运行时日志变更。
界面文案 / i18n
N/A:无用户界面文案改动。语言校验和生成文件检查均通过。
逻辑归属 / Logic placement
N/A:新增代码属于测试。工具链候选规则仍由 Rust Core 处理。
性能与内存 / Performance and memory
N/A:运行的子进程只属于本次测试。没有新增产品进程、缓存或依赖。
设置 / Settings
N/A:测试使用私有设置根,无产品设置改动。
插件契约 / Plugin contract
N/A:本 PR 测试既有桌面接口和固定 Core 版本。打包告警由 Rust Core 单独承载。
发行包与资源 / Bundle and resources
无用代码与重构 / Dead code and refactoring
N/A:沿用现有测试辅助入口,本次改动未产生可删除代码。
验证 / Verification
未能执行的检查和原因: Windows Go 竞态测试因本机 ThreadSanitizer 初始化失败和套件超时未完成。新用例只在 Windows 编译,本次运行了原生 Windows x64 用例。评审后追加的提交 9ba1083(去掉
JAVA_HOME清理、Note 迁移、矩阵措辞)未在 Windows 上重跑,由 CI 确认。提交前确认 / Final checks