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
test_a_resolve_s_notice_stands_for_that_resolve_alone: settled row moves 65px without input at teardown #5727
tests/browser/test_render_floating_panel.py::test_a_resolve_s_notice_stands_for_that_resolve_alone fails intermittently at teardown on main. The shift watch reports the panel's settled row moving 65 px down with no input:
button.lf-row.lf-fp-settled.lf-disclosure-marker.lf-ui.lf-ui-face moved without input by (0, 65)px; the same frame moved leaf-floating-panel.lf-ui.lf-floating-panel, div.lf-fp-stage
shift evidence: {"kind": "passive", ..., "before": {"rect": {"x": 330, "y": 767.84375, "width": 540, "height": 28}}, "after": {"rect": {"x": 330, "y": 833, "width": 540, "height": 28}}, "residual": {"left": 0, "top": 65.15625}, "scroll_terms": [], "animation_terms": [], "size_propagation": []}
Both failures carry exactly this signature, with the same rects and a 65.15625 px residual and no scroll or animation credit:
The first failure is at f926f4fa7 (#5701), which changed only test wait deadlines. That makes it unlikely to be the cause. Pushes between those runs were cancelled before running, so the bracket isn't tight.
The diagnosis isn't finished. The row is 28 px tall and stays the same size, and the move matches content of about 65 px appearing above it in the panel's stage. Something above it, such as the "Resolved “…”" notice or the thread list, is laid out in a frame the watch credits to no input. The test's docstring covers a resolve the log refuses, then a second resolve whose notice holds the Undo press. The 65 px insertion may come from the refusal path or the threads view returning. tests/AGENTS.mdRaces says how to reproduce a watch finding that passes locally.
Fix opened in #5766; its CI and landing are now with tend-land.
The 65 px move comes from when the test releases its held refusal relative to the Resolve's own rendering. If the refusal lands while the Threads/thread fade is still running, the shift watch credits it to the Resolve. If the fade has already ended, which happens on a slower runner, the refusal arrives as news. The panel then returns to the thread, and in that same frame the leaving Threads view draws the refused thread back under Open, pushing the Resolved row down 65 px. Locally the test fails every time with this signature at --cpu-throttle 6, 10 and 20 and passes unthrottled.
#5766 makes the test wait for that rendering to settle before it releases the refusal, so the failure now happens every time even unthrottled. It then consumes that one move, as tests/journeys/test_thread_response_continuity.py already does for a refused reply. The test passes at throttle 1, 6, 10 and 20.
The product behavior is unchanged. Holding the leaving view still would mean a leaving view keeps the rows it last drew; today transition() drops the Threads list's drawnSections hold when the view starts to leave. The PR names that as a separate product decision.
Activity
leaf-agent commentedon Nov 9, 2026
Fix opened in #5766; its CI and landing are now with tend-land.
The 65 px move comes from when the test releases its held refusal relative to the Resolve's own rendering. If the refusal lands while the Threads/thread fade is still running, the shift watch credits it to the Resolve. If the fade has already ended, which happens on a slower runner, the refusal arrives as news. The panel then returns to the thread, and in that same frame the leaving Threads view draws the refused thread back under Open, pushing the Resolved row down 65 px. Locally the test fails every time with this signature at
--cpu-throttle 6,10and20and passes unthrottled.#5766 makes the test wait for that rendering to settle before it releases the refusal, so the failure now happens every time even unthrottled. It then consumes that one move, as
tests/journeys/test_thread_response_continuity.pyalready does for a refused reply. The test passes at throttle 1, 6, 10 and 20.The product behavior is unchanged. Holding the leaving view still would mean a leaving view keeps the rows it last drew; today
transition()drops the Threads list'sdrawnSectionshold when the view starts to leave. The PR names that as a separate product decision.test: wait for the Resolve's rendering before its refusal in the pane…