[Bug] Windows CI 上 TestCloseSavesEditsMadeDuringFinalDiskCheck 偶现超过期限未能投递文档状态
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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分
- マージ済み PR(30日)
- 558
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 日以内に返信
1lck/Lithe-IDEA の issue をすべて見る
似ている 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 件 ·
メンテナーはふだん 1 日以内に返信