The branch list's click goes through Tree::pick_ref, which clears the look like every other pick; the test covers file, commit, side, branch and remote picks. The test window installs the app's menus first, as tool_root does: Windows and Linux draw the menu bar in the window and panicked on an empty one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
FAIL
apps/ely-tree/src/tests/window.rs:340— G-01 的回归测试漏掉独立的分支选择回调和非提交类位置选择,只测了set_side、pick_commit、show。在隔离副本中删除side_refs.rs:75与places.rs:97的look清理后,包含现有回归的 117 项适用测试仍全部通过(仅排除本轮原树也失败的 5 项 Linux 文件监视测试)。具体漏报场景:分支页显示文件历史后点击分支,或仓库页显示文件历史后选择远程origin,选择已经改变,中间区却仍被旧历史覆盖。补做的真实分支点击及Place::Remote探针在当前实现上均通过,并验证历史与 Blame;同样探针在上述变异上均失败,证明现有测试保护不了这两条修复。修复方向:把这两个入口加入项目内的回归测试,打开历史或 Blame 后执行选择,断言旧面板退出,并验证删除对应清理语句会使测试失败。证据:.work/G-01-r1/linux-mutation-tests.log、linux-probe-baseline-tests.log、linux-probe-mutant-tests.log。探针副本及独立构建目录已删除。