Skip to content

test_a_resolve_s_notice_stands_for_that_resolve_alone: settled row moves 65px without input at teardown #5727

Closed

Description

@leaf-agent

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:

Run Commit Result
42534421553 2cf9adee7 fails
42526822944 e13169682 passes
42463633169 f926f4fa7 fails
42458072928 and the five push runs before it, back to 42405493799 7bbf42933 and earlier pass

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.md Races says how to reproduce a watch finding that passes locally.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 9, 2026
  2. leaf-agent commented on Nov 9, 2026

    @leaf-agent
    CollaboratorAuthor

    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.

  3. added a commit that references this issue on Nov 9, 2026
    39eb552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions