Repository navigation
fix(ci): 使用本机路径修复两项 Windows 工作台测试 - #2155
Merged
xiaoyumuxi merged 2 commits intoNov 18, 2026
Merged
Conversation
Mucheen
marked this pull request as ready for review
November 18, 2026 08:54
12 of 15 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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
背景 / Why
Windows CI 在项目树的打开方式菜单和运行配置的解释器下拉两项测试上失败。修复前的 main 和 PR #2141 都有同样的失败。#2141 已经合并,本 PR 单独修复测试。
改动 / Changes
不在本 PR 范围内 / Out of scope
生产界面和运行逻辑沿用现有实现。
类型专属:fix
复现与根因
/bin/bash,Windows 路径校验拒绝保存。配置文件因此未生成。检查项
范围检查 / Scope checks
功能矩阵 / Feature matrix
file-open-with.json和builtin-process-runs.json的验证说明,原生验收状态保持pending。upstream/main到HEAD的差异门禁通过。插件归属 / Plugin ownership
UI 验证 / UI evidence
N/A,本 PR 修复测试数据及断言。原 PR 的 Gradle 图标截图测试也已在 macOS 复跑通过。
统一日志系统 / Structured logging
N/A,改动在测试层。
界面文案 / i18n
N/A,测试读取现有词条。
逻辑归属 / Logic placement
N/A,跨平台测试使用本地路径,生产逻辑沿用现有实现。
性能与内存 / Performance and memory
N/A,改动在测试层。
设置 / Settings
N/A,设置和运行配置表单沿用现有实现。
插件契约 / Plugin contract
N/A,回读使用现有的
runConfig.editorForm。发行包与资源 / Bundle and resources
N/A,文件替身由 Go 测试临时目录管理。
无用代码与重构 / Dead code and refactoring
N/A,本次只修复测试输入和断言。
验证 / Verification
test-stability-macos.sh --package ./internal/workbench,定向运行两项用例及相邻场景-race,含 Gradle 图标明暗和双语无头截图本机无 Parallels,Windows 由 GitHub Actions 验证。
提交前确认 / Final checks
upstream/main建分支,目标是main。