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 undo and panel-search tests fail on main since #5320 let z take back a sent message #5484
Since #5320 ("Let z take back a sent message or reaction"), three tests fail on main. The panel's Back button keeps the name "Back to Threads", a shown gesture is not put back after another key, and z never takes back a resolved thread.
Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):
AssertionError: Locator expected to have accessible name Actual value: Back to Threads Call log: - Expect "to_have_accessible_name" locator(".lf-fp-head .lf-fp-back") with timeout 120000ms - waiting for locator(".lf-fp-head .lf-fp-back") 243 × locator resolved to <button type="button" data-lf-gen="1" data-lf-offer="button" title="Back to Threads" aria-label="Back to Threads" class="lf-icon-action lf-fp-back lf-ui lf-
Introducing change:#5320 (da32c3f). Bisect over the 649db78..484c3db range ran test_the_menu_s_search_finds_rows_threads_and_commands at each step; all three pass on da32c3f58^ and fail on da32c3f58.
CI evidence: first failing push run 41830649334, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.
test_the_menu_s_search_finds_rows_threads_and_commands also reports unchanged write: hidden on div.lf-fp-quick at teardown. That double paint belongs to #4745.
No cause has been diagnosed past the bisect. Read #5320's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5320 replaced (update the test) or caught a regression (fix the code).
All three tests expected behavior that #5320 replaced, so #5538 updates the tests and leaves the code alone.
test_the_menu_s_search_finds_rows_threads_and_commands: the menu's Undo row now names the user's newest comment by its words, so a search for "window long" found Undo: commented “Is the window long enough?” first. Enter took the comment back instead of opening its thread, so Back read "Back to Threads". The searched thread is now the agent's. The teardown's unchanged write: hidden on div.lf-fp-quick went away with that path.
test_z_takes_back_the_thread_the_user_just_resolved: the fixture's comments are the user's, so z is now offered for the newest one. The two "nothing offered" checks were removed. The checks that remain: the undo names the resolve, nothing is unresolved, and the agent's resolve stays closed.
test_another_key_or_a_scroll_away_puts_the_shown_gesture_back_to_showing: a pickup was what made an in-view press show the choice again after j. Let z take back a sent message or reaction, whatever the agent has done with it #5320 removed that rule, so the key steps and the pickup were removed and the test is renamed for the scroll case. test_a_key_between_ends_what_the_shown_gesture_promised still covers another key ending the arm.
Locally, all three fail on 479914c4b and pass on the branch. The PR's CI and review are pending, and it lands through the review queued behind the push.
Activity
leaf-agent commentedon Nov 5, 2026
All three tests expected behavior that #5320 replaced, so #5538 updates the tests and leaves the code alone.
test_the_menu_s_search_finds_rows_threads_and_commands: the menu's Undo row now names the user's newest comment by its words, so a search for "window long" foundUndo: commented “Is the window long enough?”first. Enter took the comment back instead of opening its thread, so Back read "Back to Threads". The searched thread is now the agent's. The teardown'sunchanged write: hidden on div.lf-fp-quickwent away with that path.test_z_takes_back_the_thread_the_user_just_resolved: the fixture's comments are the user's, sozis now offered for the newest one. The two "nothing offered" checks were removed. The checks that remain: the undo names the resolve, nothing is unresolved, and the agent's resolve stays closed.test_another_key_or_a_scroll_away_puts_the_shown_gesture_back_to_showing: a pickup was what made an in-view press show the choice again afterj. Let z take back a sent message or reaction, whatever the agent has done with it #5320 removed that rule, so the key steps and the pickup were removed and the test is renamed for the scroll case.test_a_key_between_ends_what_the_shown_gesture_promisedstill covers another key ending the arm.Locally, all three fail on
479914c4band pass on the branch. The PR's CI and review are pending, and it lands through the review queued behind the push.