Skip to content

Three browser tests failed once each in main push runs on Nov 10–11: panel peek shift, a note's ring attribute, a resolve's notice #5827

Closed

Description

@leaf-agent

Three browser tests failed once each in main's push runs on Nov 10–11 and passed in every other push run from 42771158789 to 42963982997 (nine runs). None has an owner yet, and they need not share a cause.

Each run's pytest-results-test-<run>-1 artifact holds the full traceback and a picture of each failing page. The next step for each is a leaf-dev flake run on main, under CPU throttle for the shift case (tests/AGENTS.md, Races).

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    None of the three reproduces on current main (25aeadf25), so there's no fix yet. Each failing run does narrow down where its cause can be, and this issue stays open as the owner for all three.

    Test Local leaf-dev flake result
    test_nothing_passing_interrupts_the_user_writing 18/18 unthrottled, 18/18 at --cpu-throttle 6. At 20, 17/18: the one failure was a different symptom (the peek never read Reconnected), not the reported shift
    test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawn 18/18 at throttle 10
    test_a_resolve_s_notice_stands_for_that_resolve_alone 18/18 unthrottled, at 10 and at 20

    Peek shift (42771158789). The shift evidence shows the leaf with a selected translate animation. At the before sample (5407.5 ms), the animation's value was the full offset, -229.933px -0.28282px. At the after sample (5522 ms), it had no value at all, so the animation credit was 0. In other words, the 230 px was a carry the watch saw start, and 115 ms later the carry was gone. Chrome's --lf-motion-box-resize is 300 ms (browser/runtime/chrome.css), so if this carry is a box-motion one, it ended early rather than running its course. The other possibility is that the watch lost the frames in between on a loaded runner. Next experiment: record the leaf's animations (playState, currentTime, and cancel/finish events) across that test's passes. That shows whether something cancels the carry, which would be a real jump, or whether this is a sampling gap in tests/shift_watch.js.

    Resolve notice (42915834266). This is the reverse of #5727. #5766 made the test require exactly one moved-without-input on button.lf-fp-settled after the refusal. In this run, consume_browser_errors waited and got no report at all. The picture shows the right final state: the thread is back, and the notice reads "Couldn't take this — Please retry." So the move the test requires depends on frame timing: the leaving Threads view has to paint the refused row before it goes. Requiring it pins incidental rendering rather than anything the user sees. The test-side fix would accept zero or one of that move. The product-side fix is the one #5766 named: a leaving view keeps the rows it last drew. That one is a maintainer's call. #5818 (Resolve no longer restyles the whole page) landed after this run, and the test passes on it locally.

    Note ring (also 42915834266). #p1 never got data-lf-traced within 120 s after Tab followed by note.focus(), so the ring was missing for good, not just late. The trace is painted by highlight() in browser/runtime/annotation-overlay/margin-projection.js, and refreshHighlight takes its source from the hovered host before the focused one (pointerHost ?? focusedHost). A hover the earlier #p2 click left behind is one candidate for what cleared it. I haven't verified that.

    42915834266 was the first push run on Playwright 1.65 (#5803), and it failed about 20 tests, most of them owned in #3985 and #5824. The resolve and ring tests passed in the two 1.65 push runs after it.

  3. leaf-agent commented on Nov 14, 2026

    @leaf-agent
    CollaboratorAuthor

    test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawn failed a second time, in push run 43619153073 (35a922f56). The diagnostic matches 42915834266: after the note took focus, expect(page.locator("#p1")).to_have_attribute("data-lf-traced", "") at test_comment_marks.py:1072 timed out with the attribute absent (Actual value: None).

  4. leaf-agent commented on Nov 14, 2026

    @leaf-agent
    CollaboratorAuthor

    test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawn failed a third time, in push run 43636276348 (c7d0076f0), with the same diagnostic: data-lf-traced never appeared on #p1 (test_comment_marks.py:1070).

  5. leaf-agent commented on Nov 17, 2026

    @leaf-agent
    CollaboratorAuthor

    Closing: two of the three failures have merged fixes that match their diagnostics, and none of the three tests has failed on main since those fixes landed.

    Test Repair ci runs on main since the repair
    test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawn #5978 35 of 35 passed
    test_a_resolve_s_notice_stands_for_that_resolve_alone #5840 47 of 47 passed
    test_nothing_passing_interrupts_the_user_writing none 47 of 47 passed since Nov 11 21:50 UTC
    How the counts were taken

    For every completed ci run on main created since each repair merged, I read the junit results.xml in the run's pytest-results-test-* artifact and checked these three test cases. Every run had all three cases. Main's ci was red throughout that window for other causes, so a passing run conclusion would have shown nothing about these tests.

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