Skip to content

[Bug] main 上 Windows CI 稳定失败:“打开于”应用列表和运行配置解释器两项测试 #2146

Closed

Description

@1lck

Platform / 平台

Windows

Area / 模块

Test / 测试

Lithe version / Lithe 版本

9f4d5fb(main,2026-11-18)

Priority / 优先级

P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用

OS and architecture / 操作系统与架构

GitHub Actions windows-latest,x64

Environment / 环境信息

Other: Desktop CI 的 “Vet and test on Windows” 任务(run 44249835503)

Steps to reproduce / 复现步骤

  1. 在 main 9f4d5fb 上运行 Desktop CI 的 Windows 任务(或在 Windows 上运行 scripts/desktop/desktop-go.sh test ./internal/workbench)。
  2. 查看 workbench 包的测试结果。

Expected behavior / 预期行为

main 上的 Windows 测试全部通过。

Actual behavior / 实际行为

两项测试在 Windows 上稳定失败(main 最近几次运行都失败),每个 ready 的 PR 都会因此失败:

需要确认是测试只按 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

  1. added
    review: high
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    review: high

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions