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 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
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.
tests/browser/navigation/test_comment_marks.py::test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawn, in 42915834266 (7d3a4183e): expect(locator("#p1")).to_have_attribute(...) waited 120 s with the attribute absent (Actual value: None), while #p1 carried aria-details="" and class="lf-mark-el".
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).
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
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.
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).
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).
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.
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.
Activity
leaf-agent commentedon Nov 11, 2026
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.leaf-dev flakeresulttest_nothing_passing_interrupts_the_user_writing--cpu-throttle 6. At 20, 17/18: the one failure was a different symptom (the peek never readReconnected), not the reported shifttest_any_focus_on_a_note_rings_its_block_and_follows_it_redrawntest_a_resolve_s_notice_stands_for_that_resolve_alonePeek shift (42771158789). The shift evidence shows the leaf with a selected
translateanimation. At thebeforesample (5407.5 ms), the animation's value was the full offset,-229.933px -0.28282px. At theaftersample (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-resizeis 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 intests/shift_watch.js.Resolve notice (42915834266). This is the reverse of #5727. #5766 made the test require exactly one
moved-without-inputonbutton.lf-fp-settledafter the refusal. In this run,consume_browser_errorswaited 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).
#p1never gotdata-lf-tracedwithin 120 s afterTabfollowed bynote.focus(), so the ring was missing for good, not just late. The trace is painted byhighlight()inbrowser/runtime/annotation-overlay/margin-projection.js, andrefreshHighlighttakes its source from the hovered host before the focused one (pointerHost ?? focusedHost). A hover the earlier#p2click 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.
Fix three browser tests that fail on main where the page behaves (#5840)
leaf-agent commentedon Nov 14, 2026
test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawnfailed 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", "")attest_comment_marks.py:1072timed out with the attribute absent (Actual value: None).leaf-agent commentedon Nov 14, 2026
test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawnfailed a third time, in push run 43636276348 (c7d0076f0), with the same diagnostic:data-lf-tracednever appeared on#p1(test_comment_marks.py:1070).leaf-agent commentedon Nov 17, 2026
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.
ciruns on main since the repairtest_any_focus_on_a_note_rings_its_block_and_follows_it_redrawntest_a_resolve_s_notice_stands_for_that_resolve_alonetest_nothing_passing_interrupts_the_user_writingTaband then focused the note again before the runtime had read thefocusout(focus.js). The runtime therefore took the refocus as no arrival, and the trace never came, which matches the permanentActual value: None. Fix seventeen tests that fail only on the nightly macOS runner, and count a card's carry as motion for a key #5978 makes the test wait for the proxy ring to come off before refocusing. Both repeat failures, 43619153073 and 43636276348, ran on commits from before Fix seventeen tests that fail only on the nightly macOS runner, and count a card's carry as motion for a key #5978.--cpu-throttle 6, and the folded panel's leaf has been reworked since (Give the panel's leaf a gesture at each moment: walk, error, On Me, the agent's news, pickup and away #5771, Have the On Me mark press Next On Me with its m, and say Working until the agent's line #6230). The animation-recording experiment proposed above needs a failure to tell its two explanations apart, so it can't run while the test keeps passing. If it fails again, the lane's report will bring back the same traceback and shift evidence. The first comment here has the analysis to resume from.How the counts were taken
For every completed
cirun on main created since each repair merged, I read the junitresults.xmlin the run'spytest-results-test-*artifact and checked these three test cases. Every run had all three cases. Main'sciwas red throughout that window for other causes, so a passing run conclusion would have shown nothing about these tests.test: report how each animation in shift evidence began, who owns it,…