[Bug] Windows CI 上 TestCloseSavesEditsMadeDuringFinalDiskCheck 偶现超过期限未能投递文档状态
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start at desktop/internal/workbench/document_observation_test.go around line 394, where the final disk check is blocked and the text "latest" is inserted. Reproduce with ./scripts/desktop/desktop-go.sh test ./internal/workbench -run '^TestCloseSavesEditsMadeDuringFinalDiskCheck$' -count=1 on Windows, then follow the document watcher and awaitDocumentState path to see how the deadline is set. Done means the test passes deterministically on Windows CI without simply extending the timeout.
由索引模型根据 Issue 内容生成。
描述
Platform / 平台
Windows
Area / 模块
Editor / 编辑器
Lithe version / Lithe 版本
开发分支(913661835 基线,PR #2344 与正文无关改动)
Priority / 优先级
P2 / 后续考虑:目前不着急,可安排到后续版本
OS and architecture / 操作系统与架构
Windows Server 2022 (windows-2022), x86_64 (GitHub Actions runner)
Environment / 环境信息
- Go:
desktop/go.mod固定版本;Viva:github.com/Lithe-IDEA/vivabb85256c8ffa - Core:
PINNED_CORE_REVISION=076ce04e314ecdde790b36ee3f374becb11951a0 - 复现环境:GitHub Actions
Desktop CI / Vet and test on Windows(Run45214592965Attempt 1,Job137832603047);同 Run--failed重跑后通过
Steps to reproduce / 复现步骤
- 在 Windows CI 环境运行
./scripts/desktop/check.sh或./scripts/desktop/desktop-go.sh test ./internal/workbench -run '^TestCloseSavesEditsMadeDuringFinalDiskCheck$' -count=1。 desktop/internal/workbench/document_observation_test.go:394启动关闭文档前的最后一次磁盘校验阻塞,插入文本"latest"后释放读取器并等待awaitDocumentState完成关闭与磁盘保存。
Expected behavior / 预期行为
文档关闭前完成末次校验并确定性保存最新编辑到磁盘,测试在有界期限内稳定通过。
Actual behavior / 实际行为
在 Windows runner 高负载条件下偶发超时失败,报告 document watcher did not deliver the expected state before the deadline(8.04s),同一运行仅重跑失败 job 即恢复通过。
Logs or diagnostic output / 日志或诊断输出
# GitHub Actions Run 45214592965 (Attempt 1, Vet and test on Windows)
--- FAIL: TestCloseSavesEditsMadeDuringFinalDiskCheck (8.04s)
document_observation_test.go:394: document watcher did not deliver the expected state before the deadline
FAIL
FAIL github.com/1lck/Lithe-IDEA/desktop/internal/workbench 115.550s
Screenshots or recordings / 截图或录屏
不适用:纯测试稳定性与 Windows 文件监听时序问题,无桌面界面变化。
Checklist / 提交前检查
- I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
- I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 151
- 平均合并
- 4 小时 4 分钟
- 30 天内合并 PR
- 558
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
1lck/Lithe-IDEA 的其他 Issue
-
refactor review: high
难度 2/5 1-3 小时 新手友好度 72/100
1lck/Lithe-IDEA#2376 ·
维护者通常 1 天内回复
-
bug issue-form:bug review: no-score
难度 2/5 1-3 小时 新手友好度 85/100
1lck/Lithe-IDEA#2373 · 1 条评论 ·
维护者通常 1 天内回复
-
area:ui enhancement P2 platform:cross-platform refactor review: high
难度 1/5 1 小时以内 新手友好度 84/100
1lck/Lithe-IDEA#2365 ·
维护者通常 1 天内回复
-
review: high
难度 4/5 3-5 天 新手友好度 28/100
1lck/Lithe-IDEA#2381 ·
维护者通常 1 天内回复
-
review: high
难度 3/5 1-2 天 新手友好度 35/100
1lck/Lithe-IDEA#2380 ·
维护者通常 1 天内回复
相似的 Issue
-
chore
难度 2/5 1-3 小时 新手友好度 82/100
drydocs/meridian#1503 · 1 条评论 ·
维护者通常 2 天内回复
-
bug extension mcp
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
primer/primitives#1426 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
danielmiessler/LifeOS#2941 ·
维护者通常 4 天内回复
-
Sign-in-only setup dialog describes API-key verification可能已有人在做 @roboclaw-bot 今天认领。 未关闭clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
难度 1/5 1 小时以内 新手友好度 78/100
openclaw/openclaw#204323 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复