### Platform / 平台 Other / 其他(Linux / Windows CI 均已复现;macOS 独立探针也复现) ### Area / 模块 Test / 测试 ### Lithe version / Lithe 版本 preview 1cad09c2a60425eb9f8a7db7f5039c765c949c11;Java PR #1884 的对应测试文件与该基线 SHA-256 完全一致。 ### Priority / 优先级 P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用(阻断三平台测试;未证实产品快捷键有缺陷) ### OS and architecture / 操作系统与架构 GitHub Actions ubuntu-latest x64 / windows-latest x64;本地 macOS arm64 无头复现。 ### Environment / 环境信息 Viva 固定 96a5af59bc30,Go 无头工作台。与 Java/JDT/Maven 无关。生产设置页 SetKeymap 会调用 invalidator.Invalidate;测试 closeTabChord 只改内存设置,遗漏相同的刷新。 ### Steps to reproduce / 复现步骤 1. 打开普通文件,再打开 LSP Logs 编辑器页签。 2. 无默认绑定的平台先发送 Control-W,确认无效果。 3. 测试直接修改 settings.Keymap 添加 CloseTab 的 Control-W 绑定,不请求刷新。 4. 立即发送该组合键;Driver.Pump 仅处理已有 wake,旧帧没有新绑定。 5. macOS 用同样的显式 Control-W 绑定独立探针也得到相同失败;无需依赖 CI 时间。 ### Expected behavior / 预期行为 测试设置变更应像真实设置页一样明确通知刷新,再验证新组合键。应增加所有平台均运行的显式用户绑定回归,不能只在 macOS 依赖已有默认 Command-W。 ### Actual behavior / 实际行为 TestCloseTabShortcutClosesTheSelectedEditorTab 失败:1 个日志页签仍在,普通文件未选中。异步背景 wake 偶尔可能掩盖缺失刷新,不应靠重跑或 sleep。 ### Logs or diagnostic output / 日志或诊断输出 [Linux 失败任务](https://github.com/1lck/Lithe-IDEA/actions/runs/43521468405/job/132216522819)、[Windows 同样失败](https://github.com/1lck/Lithe-IDEA/actions/runs/43521468405/job/132216522946) ```text --- FAIL: TestCloseTabShortcutClosesTheSelectedEditorTab (0.06s) close_tab_shortcut_test.go:80: after the chord: 1 log tabs, the file selected false ``` 本地独立探针同样失败。基线文件 SHA-256:ef68c508178f6db0948739dcb5faf598c175176110639db49a0f10fa42f1be4b。git blame 指向 #1873/#1876 的测试沿用;不在本次 Java 生产代码差异中。 ### Screenshots or recordings / 截图或录屏 N/A:无头测试时序问题,文本证据足够。 ### Checklist / 提交前检查 - [x] I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。 - [x] I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
Activity
1lck commentedon Nov 14, 2026
按维护者本轮清理要求,核对最新 preview b582e20 后关闭。
本问题已经由 PR #1886 修复并合入 preview,合并提交为 81bc8ce。
bindCloseTab在修改快捷键绑定后显式调用invalidator.Invalidate(),与生产SetKeymap的刷新语义一致。TestCloseTabUserBindingClosesTheSelectedEditorTab,所有平台都覆盖显式 Control-W 用户绑定,避免 macOS 默认 Command-W 掩盖缺少刷新。Vet and test on Linux、Vet and test on macOS、Vet and test on Windows均有 SUCCESS 结果;取消/跳过的其他历史检查没有计为通过。证据:修复 PR、当前实现与回归测试。
本次回读代码及已有 CI 结果,未重新启动完整测试。