You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Three tests fail on main since #5638: Escape no longer closes the command reference or leaves an answered obligation #5703
Three browser tests fail on main since #5638 (ec2799b1d, "Previews say only the keys that reach a control and take Escape first wherever they show"). Each passes at its parent 391c24622 and fails at ec2799b1d locally with uv run pytest --run-main. All three failed in each push run from 42366786261 (ec2799b1d) through 42452611077 (957cb8820). The first two also fail locally on main 7bbf42933.
In each one, an Escape that used to leave a surface no longer does:
tests/browser/test_render_semantic_selection.py::test_slash_finds_page_text_without_a_target_kind: after ? and then Escape, / opens no searchbox "Search page text" (test_render_semantic_selection.py:701).
tests/browser/test_render_reactions.py::test_tab_opens_the_comment_picker_with_individual_emoji_buttons: after ?, then reading a row's preview, then Escape, .lf-command-reference stays visible (test_render_reactions.py:566).
tests/browser/navigation/test_key_scopes.py::test_an_obligations_pick_stays_a_place_to_stand_after_the_answer: after Space answers an obligation's pick, Escape leaves focus off document.body (test_key_scopes.py:1863).
The first two open the command reference, whose active row shows a preview. That fits #5638 making a showing preview take Escape first, so the first Escape now dismisses the preview and leaves the dialog open. Whether one Escape should still close the dialog it previews in, and whether the obligation case is the same mechanism, still needs establishing. Read #5638's intent before choosing between the tests and the runtime (Reading a red suite in .claude/skills/running-tend/SKILL.md).
#5734 fixes all three tests. They share one cause: a preview was still standing when each test pressed Escape. #5638 made a standing preview take Escape's first step everywhere, modals included, so that Escape put the preview away. In the command-reference tests, that preview was the pointer's, left standing for its dwell by preview_parts. In the obligation test, it is the pick's focus preview, which now shows because it names the pick's 1 key. The runtime keeps #5638's intent. The harness now waits for the pointer's preview to go, and the obligation test puts the focus preview away before asserting that Escape lets go onto the page. All three failed on main 2f47830e4 and pass on the branch. CI on the PR is pending.
Activity
leaf-agent commentedon Nov 9, 2026
#5734 fixes all three tests. They share one cause: a preview was still standing when each test pressed Escape. #5638 made a standing preview take Escape's first step everywhere, modals included, so that Escape put the preview away. In the command-reference tests, that preview was the pointer's, left standing for its dwell by
preview_parts. In the obligation test, it is the pick's focus preview, which now shows because it names the pick's1key. The runtime keeps #5638's intent. The harness now waits for the pointer's preview to go, and the obligation test puts the focus preview away before asserting that Escape lets go onto the page. All three failed on main2f47830e4and pass on the branch. CI on the PR is pending.Wait for a test's preview to close before pressing Escape, now that p…