You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] main 上 Windows CI 稳定失败:“打开于”应用列表和运行配置解释器两项测试 #2146
Other: Desktop CI 的 “Vet and test on Windows” 任务(run 44249835503)
Steps to reproduce / 复现步骤
在 main 9f4d5fb 上运行 Desktop CI 的 Windows 任务(或在 Windows 上运行 scripts/desktop/desktop-go.sh test ./internal/workbench)。
查看 workbench 包的测试结果。
Expected behavior / 预期行为
main 上的 Windows 测试全部通过。
Actual behavior / 实际行为
两项测试在 Windows 上稳定失败(main 最近几次运行都失败),每个 ready 的 PR 都会因此失败:
TestProjectTreeOpenWithListsTheSystemsApplications(feat(tree): 项目树右键“打开于”——打开方式列出系统关联应用、访达、终端 #2131 引入的“打开于”):filetree_openin_test.go:115: Open With does not list "Viewer.app(/Apps)"。测试用的是 macOS 形式的应用条目,Windows 上的应用来源不同。
TestRunConfigInterpreterListsTheTerminalShells(feat(run): 解释器路径改为下拉——自动、终端检测到的同类 shell、自定义 #2135 引入的解释器下拉):runconfig_shell_test.go:130 读不到 .lithe\run\local.yaml(“The system cannot find the path specified.”),说明 Windows 上没有保存出该文件,或保存位置不同。
需要确认是测试只按 macOS 写,还是 Windows 上的实际行为也有缺陷。
Logs or diagnostic output / 日志或诊断输出
--- FAIL: TestProjectTreeOpenWithListsTheSystemsApplications (0.22s)
filetree_openin_test.go:115: Open With does not list "Viewer.app(/Apps)"
--- FAIL: TestRunConfigInterpreterListsTheTerminalShells (0.26s)
runconfig_shell_test.go:130: local.yaml = , open <TEMP>\TestRunConfigInterpreterListsTheTerminalShells...\001\.lithe\run\local.yaml: The system cannot find the path specified.
Screenshots or recordings / 截图或录屏
无,CI 日志即证据。
Checklist / 提交前检查
I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
Activity