Files
胡飞 af6af2c37a fix(tests): 修复 CI 既有测试失败与 gpui-component TestWindow panic
- gpui-component rev e6459613 -> f214272a(上游 navop-gpui-ce):
  ns_view 恢复 catch_unwind 防护,GPUI TestWindow 无真实平台句柄时
  安全跳过 accessibility forwarder 安装;Root::new 恢复纯
  target_os = macos cfg(not(test) 只对组件自身 test 构建生效,
  下游 crate 的 gpui 测试仍会 panic)
- real mysql/postgres 集成测试: 凭据 env 缺失时 eprintln 跳过而非
  expect panic,对齐 README 语义,CI 无数据库服务器不再红
- markdown-editor 右键表格菜单测试: 物理焦点断言更新为上游
  ContextMenu 语义(菜单打开时持有键盘焦点,dismiss 恢复 previous
  focus),编辑器 action target 保持断言不变
- code_highlighting 契约测试改为源码契约: cargo test --all 的
  feature unification 会把 main 经 gpui-component-shell 启用的
  tree-sitter-rust 链进测试二进制,运行时注册表断言不可靠

验证: cargo test --all 全绿(notes 既有失败另行处理);
cargo test -p db --test real_mysql 本地 5/5 通过
2026-09-04 20:59:46 +08:00
..