Repository navigation
Description
These tests failed only in the test-macos job of full-tier ci run 44989336653 on fac415460 (a workflow_dispatch). The Linux test job ran them in the same run and passed them, and none failed in the previous scheduled run, 44896279165 on c72a8ad03. They haven't been reproduced or diagnosed yet. As running-tend's A red ci on main is live says, the next step is to dispatch each test alone on the macOS runner and see which fail every time. The Lead column names a change in c72a8ad03..fac415460 that touches the same behavior. Each lead comes from the test's subject and hasn't been bisected.
| Test | Deciding error | Lead |
|---|---|---|
tests/browser/navigation/test_comment_marks.py::test_marked_words_are_seen_and_told_apart[firefox_browser] |
the page should be marking 'whose thread the user opens' as the comment the user is located in; it is marking {'text': '', 'elements': []} |
|
tests/browser/test_render_shift_watch.py::test_a_carry_draws_the_way_of_a_step_news_may_take[overshoot-False-True] |
moved-without-input on div#source by (0, -50) |
#6691 (slides a thread's messages for news) |
tests/browser/test_render_toc_disclosure.py::test_a_contents_spine_fades_its_words_as_one_and_frees_the_prose_at_once[long] |
the last sampled frame reads least 0, most 0 while the two before read 1 |
#6678, #6699 |
tests/journeys/navigation/test_reading_place.py::test_a_key_pressed_during_a_glide_acts_where_the_glide_lands[browser-t-PageDown-under way] |
the second element of the reading reads True, expected False |
#6303 tracks the firefox_browser case of this test with the same assertion |
tests/journeys/test_render_gate.py::test_page_fixture_renders[github-discoveries] |
axe target-size in both schemes: h3 > a[href="https://github.com/google/ax"] is 497.6×23 px, and a[aria-label="google/ax"] is partly obscured to 34×3 px |
#6695 began reading every page with axe in both schemes. A 23 px line box suggests macOS font metrics. |
tests/journeys/test_thread_response_continuity.py::test_native_reply_edits_after_semantic_paint_keep_the_first_line[seat-resize-desktop], [seat-resize-replace-desktop], [seat-resize-paste-desktop] |
the reply box moves from x 38, y 313.9, width 484 to x 454, y 330.7, width 564 |
#6682 seated thread cards, #6713 |
tests/browser/test_render_application_boundary.py::test_primary_reading_holds_remote_changes_before_package_layout[Feed] |
teardown: span.lf-margin-face.lf-margin-marker… moved without input by (0, -95)px; the same frame moved div.lf-ui.lf-margin-carrier |
One Linux-only failure from the same run is also here, since it has the same status: it failed once and passed when rerun locally.
| Test | Deciding error |
|---|---|
tests/journeys/widgets/test_tabs.py::test_root_tabs_switch_views_without_moving_the_strip_and_follow_history |
teardown: span.lf-margin-face.lf-margin-marker… moved without input by (0, -622)px. It passed in one local run on d53e9994f. |
Its teardown finding has the same shape as the application_boundary[Feed] one: a margin marker moved with no input, and the same frame moved its carrier.
Cause of a failure tracked in #6738.
Activity
test: hold the contents map's fade to read it midway, rather than hop…
leaf-agent commentedon Nov 22, 2026
#6750 fixes two of these, and the rest remain open here. A
flakedispatch on the macOS runner, 18 copies of each test on main atd53e9994f(run 45018312974), reproduced every macOS test but one:test_thread_response_continuity[seat-resize-*], all threetest_render_toc_disclosure[long]test_render_gate[github-discoveries]test_render_shift_watch[overshoot-False-True]test_render_application_boundary[Feed]test_tabs::test_root_tabs_switch_views…test_comment_marks[firefox_browser]test_reading_place[browser-t-PageDown-under way]What's known about the open ones:
c72a8ad03..fac415460. Underleaf-dev suite flake --workers 4 --load 2on Linux, the tabs test errors 7 of 24 copies atc72a8ad03and 6 to 8 of 24 atd53e9994f, with the same message. It fires after the fresh load of#evidence-tab, where the test callsscrollIntoViewand thenscrollBy(-40)as two separate evaluates. The watch credits a 582px scroll to the carrier (native_anchor), but the marker moved 622px, the position before thescrollBy. A residual of exactly −40px suggests the watch read the marker's rect and the scroll pose on different sides of the second scroll. The next step is to read howshift_watch.jspairs a carrier's scroll credit with its rows' rects. Early anchored send journey: margin marker moves 39px without input under load #6494 had the same message with a different cause (a late margin pass).test_page_fixture_rendersleft. On macOS that position puts the first card's avatar under the sticky feed header, so axe reports it as obscured to 34×3px. The heading link, 23px tall with macOS fonts, then failstarget-sizebeside it. Either the page's targets fall short of 24px on macOS, or axe should run at a defined scroll position. That's undecided.div#source(moved by 48 to 58px) rather thanbutton#headfor the 200ms overshoot carry. Two copies instead failedjudge_watcheswith an empty list. It looks like the watch's sampling of a short carry, not a product change.#6750's CI and landing are with tend-land.
test: hold the contents map's fade in the browser as the gesture star…
test: make the seat-resize reply journeys and the contents-map fade t…
leaf-agent commentedon Nov 22, 2026
The scheduled run on
d53e9994f(45014446027) adds two Linux readings to this issue's open causes:test_render_gate[github-discoveries]now fails in the Linuxtestjob as well, in both schemes, with the same twotarget-sizenodes.h3 > a[href="https://github.com/google/ax"]measures 596.1×23 px, anda[aria-label="google/ax"]is obscured to 34×3 px. Linux had passed it atfac415460. So the 23 px line box isn't specific to macOS fonts, and the undecided question above (are the page's targets under 24 px, or should axe run at a fixed scroll position?) applies to both platforms.tests/journeys/test_render_playwright_trace.py::test_trace_replaces_captures_without_blank_pixels_or_layout_displacementerrored at teardown withspan.lf-margin-face.lf-margin-marker… moved without input by (0, -419)px; the same frame moved div.lf-ui.lf-margin-carrier, leaf-margin-cluster…. macOS passed it in the same run. The message has the same shape as the tabs andapplication_boundary[Feed]teardowns. That shows only the shape matches, not that the cause does.leaf-agent commentedon Nov 22, 2026
Three of this issue's open tests failed again in full-tier dispatch 45044712114 on
89b4d28d8, with the same deciding errors as before:test_render_shift_watch.py::test_a_carry_draws_the_way_of_a_step_news_may_take[overshoot-False-True](macOS):moved-without-inputondiv#sourceby (0, -50), with the carry ofdiv#port'stranslatein the evidence.test_reading_place.py::test_a_key_pressed_during_a_glide_acts_where_the_glide_lands(macOS), this time in the[browser-t-PageDown-at once]case rather thanunder way. The reading's second element isTruewhereFalsewas expected, for the margin preview'sdiv.lf-reply-continuity.lf-page-threadtarget. That is the same assertion Eight tests fail only on the first complete starved macOS nightly (Nov 17) #6303 tracks for thefirefox_browsercase.tests/journeys/widgets/test_tabs.py::test_root_tabs_switch_views_without_moving_the_strip_and_follow_history(Linuxtestjob) errored at teardown:span.lf-margin-face.lf-margin-marker… moved without input by (0, -622)px; the same frame moved div.lf-ui.lf-margin-carrier. Open PR Credit a margin row's frame-late catch-up to its anchor's scroll in the shift watch #6763 changes how the shift watch credits a margin row's late catch-up to its anchor's scroll. It may bear on this margin-marker teardown, but that hasn't been checked.leaf-agent commentedon Nov 23, 2026
Both failures recurred with the same deciding errors in full-tier dispatch 45073646401 on
3c9424f48:test_reading_place[browser-t-PageDown-at once]on macOS, and thetest_root_tabs_switch_views…margin-marker teardown shift (0, -622)px on Linux.leaf-agent commentedon Nov 23, 2026
#6856 fixes the
test_tabs.py::test_root_tabs_switch_views…margin-marker teardown. #6763 didn't fix it: the test still errored in 5 of 24 copies onmainat39ee727dd(Linux,--workers 4 --load 2). The marker's carrier is anchored to the document, and Chrome moves it a reading after the document scrolls. The test scrolls twice from two scripts (scrollIntoView, thenscrollBy(-40)). So the marker caught up to the first scroll in the reading that already found the document moved by the second, and that reading falls between the frames the watch compares.laggedTravelonly paired the anchor's earlier reading with the compared frame itself, so it credited 582px of the marker's 622px. On the branch, the journey passes 54 of 54 copies. A new two-script case intest_a_carried_row_keeps_its_anchor_s_lagging_scrollfailed 3 of 24 onmainand passes 54 of 54. Its fault case is still reported. CI and landing are with tend-land.The rest of the margin-marker group has other causes:
test_render_application_boundary[Feed]reproduces on Linux too, in 1 of 24 copies onmain, with the same (0, -95)px teardown. Its finding carries no scroll term at all, so it isn't the anchor lag test: credit a margin row's lag when its anchor scrolls again before the row catches up #6856 credits.test_render_playwright_trace's CI finding names animgas the anchor, already scrolled at both compared frames, and leaves 419px uncredited. It passed 24 of 24 locally onmain, so it isn't reproduced.github-discoveries, the shift-watch overshoot, Firefox comment marks andreading_place(#6303) haven't been looked at again since the last update. None of them has failed again since then.test: credit a margin row's lag when its anchor scrolls again before …
leaf-agent commentedon Nov 23, 2026
Both cases recurred on macOS only in scheduled run 45159811021 on
c8ab9ec1df44, and Linuxtestpassed them in the same run.test_page_fixture_renders[github-discoveries]still fails its axe check.test_primary_reading_holds_remote_changes_before_package_layout[Feed]errors at teardown withspan.lf-margin-face.lf-margin-marker… moved without input by (0, -95)px; the same frame moved div.lf-ui.lf-margin-carrier.test: run the corpus gate's axe check from the top of the page's scro…
leaf-agent commentedon Nov 24, 2026
#6966 merged a fix for
test_page_fixture_renders[github-discoveries]. It's a test-side fix: the page itself is fine. The axe pass ran at whatever scroll position the earlier journeys on the shared page left behind. When that put the first card's avatar just below the sticky feed header, axe counted the avatar as obscured to 34×3 px. It then failed the 23 px heading link next to it ontarget-size. I reproduced this locally by forcing that scroll: the test failed with the same two nodes, and the heading measured 596.1×23 px, as in the Linux CI reading.axe_findingsnow reads the page with its reading scroller at the top. Aflakedispatch on the macOS runner passed all 54 copies on the fix's head (run 45342899769). Onmain, 11 of 18 copies had failed. That settles this test's open question from earlier in this thread: the axe check should run at a fixed scroll position, and it now does.The issue stays open for these:
test_render_shift_watch[overshoot-False-True](macOS). Last failed in dispatch 45044712114.test_render_application_boundary[Feed]margin-marker teardown. Failed on macOS in scheduled run 45159811021, and reproduces on Linux in 1 of 24 copies.test_comment_marks[firefox_browser]. Hasn't failed since the first run.test_reading_placePageDown glide (Eight tests fail only on the first complete starved macOS nightly (Nov 17) #6303).leaf-agent commentedon Nov 24, 2026
test_primary_reading_holds_remote_changes_before_package_layout[Feed]errored at teardown again, only on macOS, in scheduled run 45378690705 one7d5808f3. The finding is the same:span.lf-margin-face.lf-margin-marker… moved without input by (0, -95)px; the same frame moved div.lf-ui.lf-margin-carrier.leaf-agent commentedon Nov 25, 2026
The
test_render_application_boundary[Feed]teardown now has a known trigger: the test's own click into the reply editor. Onmainat669f874aeit errors in 1 of 24 copies on Linux (leaf-dev suite flake --workers 4 --load 2), with the same finding as macOS, (0, -95)px on the marker at x 908.Per-frame probes of a passing copy show the sequence:
editor.click()focuses the reply box, and the browser's focus scroll moves the workspace's reader (#workspace'sreader) byscrollTop95. The Channel heading moves from 320 to 225 in that frame.?margin marker stays at 320 for one more sampled frame (about 60ms here). Its carrier isposition: fixedand anchored to the reader's content (position-anchor: --lf-a3). It then moves to 225 natively: the carrier's computedtopbecomes -95px, and nothing writes its style in between.calc(-123.125px + anchor(top))) and the cluster'smargin-top: 225.125px, and the marker doesn't move.So the move the watch reports is the anchored carrier catching up to a pane scroll it was carried by. That's the case
laggedTravelis meant to credit, and it does credit it in passing copies. The failing evidence has nonative_anchorterm, so that credit found no pairing in the failing copy. One possible reason, not yet checked against the watch's samples:laggedTraveltakes the anchor's earlier reading only when the anchor has a sample exactly at a compared frame. When the carrier lags the scroll by more than one watch reading, that pairing doesn't exist. The macOS failure's compared frames are 120ms apart, against 42ms in the Linux one, which fits a longer lag.The next step is to capture the watch's
placedsamples for the anchor and the marker in a failing copy. That would show whether the lag spans several readings (a watch fix, as in #6856) or whether the carrier really stands apart from its anchor on screen for longer than a frame (a product finding). The other three open tests are as the last summary left them.leaf-agent commentedon Nov 26, 2026
Two of the four open tests now reproduce on Linux without a macOS dispatch, and the overshoot case is diagnosed as far as the watch's admission step. The issue stays open for that remaining step.
Reproduction. On
mainat1231554f5,leaf-dev suite flake --copies 24 --workers 4 --load 2 --cpu-throttle 3failstest_render_shift_watch[overshoot-False-True]in 13 of 24 copies and errorstest_render_application_boundary[Feed]at teardown in 6 of 24. Both have the same messages as on macOS. Without the throttle, Feed passed 24 of 24. None of the four open tests failed on either platform in scheduled run 45598918111 on118f31f6d.Shift-watch overshoot. This is a gap in the watch, not a product change: the page is the test's own data-URL fixture. The head's overshoot is detected but never admitted as a finding:
carriesWithincorrectly withholds the carry's credit once the head is drawn past where its layout puts it. That happens in failing and passing copies alike.protectedMotionthen queues the head's move (ytrue) in both, for example 613 → 589.7px at one frame of a failing copy.admittedMotion. In the passing copies the overshoot spans several readings, so a later reading still finds the head away from its start and the move stands. In the instrumented failing copies, the slow frames catch the overshoot in a single reading, and the next one finds the head back at 598. The watch treats that as a round trip, which stands only on a painted layout-shift report from Chrome, and Chrome never reports atranslate. So onlydiv#sourceis reported, from its lasting 40px rise.That explains the failures I instrumented, but not every failure. Holding the overshoot at -20px from 20% to 90% of the carry still failed 9 of 24 copies, again with only
div#sourcereported. So the head can also go unadmitted while it stands past its place over several readings. I reverted that experiment, since it is no fix. The next step is to logadmittedMotion'sstableandprooffor the head's chain under the dwell variant, to find the second path that drops it. Then decide whether a move drawn by a sampled carry should count as painted without Chrome's report.Feed teardown. Nothing new beyond the reproduction route. The next step from the last update still applies, and
--cpu-throttle 3now gives a failing copy on Linux to capture the anchor's and marker'splacedsamples from.test_comment_marks[firefox_browser]andtest_reading_placehaven't failed since the last update. The throttle slows only Chromium, so it doesn't help either of them.leaf-agent commentedon Nov 27, 2026
#7365 fixes the
test_render_application_boundary[Feed]teardown. The cause was in the watch, not in the product. The heading's margin carrier anchors to a box in the workspace widget's shadow tree, whichdom/css-anchors.jsnames from the document with::part(lf-a3) { anchor-name: --lf-a3 }. The watch keyed each anchor name by the named element's own root, so the carrier recordedanchor: nullat every reading. With no anchor, its native lag behind the reader's scroll got nonative_anchorcredit at all. That is why the failing evidence hadscroll_terms: [], rather than the multi-reading lag the last update guessed. The copies that passed were the ones where the carrier caught up inside the click's own input window.Feed's results before and after #7365:
--workers 4 --load 2 --cpu-throttle 343fed2e7e: errored in 11 of 24, then 17 of 24flake, 54 copiespartcases intest_a_carried_row_keeps_its_anchor_s_lagging_scrolltend-land has #7365's CI and landing.
Still open here:
test_render_shift_watch[overshoot-False-True]still reproduces on43fed2e7e, in 18 of 24 throttled copies. The next step is the one from the last update: logadmittedMotion'sstableandprooffor the head under the dwell variant.test_comment_marks[firefox_browser]andtest_reading_placePageDown glide didn't fail in the scheduled runs of Nov 25 (45598918111) or Nov 26 (45805148564), on either platform. The Chromium throttle doesn't reach Firefox, and Eight tests fail only on the first complete starved macOS nightly (Nov 17) #6303 is closed. Both now wait on a recurrence, and the next failure's evidence is the input they need.Nov 26's run did fail
test_hiding_annotations_gives_marked_words_their_own_colours_backin all three browsers on both platforms. That is a different test from the one this issue tracks, and it belongs to that run's own report.test: resolve an anchor the document names through ::part() in the sh…
leaf-agent commentedon Nov 27, 2026
test_reading_place.py::test_a_key_pressed_during_a_glide_acts_where_the_glide_lands[browser-t-PageDown-under way]failed again on macOS in scheduled run 45985529285 on21c613f05, with the same assertion as this issue's table: the second element of the reading,seen, isTrueduring the glide andFalseafter the landing. Both readings focus the same reply ring (div.lf-reply-continuity.lf-page-thread.lf-ring-overlay.lf-ui).The event logs the assertion prints show where the two runs diverge:
tglides to scroll 2483 and ends there. PageDown is pressed at 2483, comes backhandled: False, and the browser's own page step scrolls to 3331.handled: False). The glide then finishes at 2483, and no page step follows. The scroll ends at 2483.So in this copy, the native PageDown pressed mid-glide was lost: the smooth scroll the glide was running absorbed it, instead of the page stepping on from where the glide landed. That is the recurrence's evidence. The next step is to find out whether the runtime's glide restarts or overrides the browser's PageDown scroll when the press arrives before
scrollend.The two logs, as printed
test: run the shift-watch overshoot fault long enough for a slow host…
leaf-agent commentedon Nov 28, 2026
#7492 merged a test-side fix for
test_render_shift_watch[overshoot-False-True]. The Chromium PageDown glide intest_reading_placenow reproduces on demand on the macOS runner and is diagnosed down to Chromium's own page step.test_comment_marks[firefox_browser]is unchanged.Shift-watch overshoot (fixed by #7492). The fault's 200ms carry briefly translates the head past its place. That is a transform's round trip, which Chrome never reports, and the watch's header ("Runs of motion") says such a round trip may pass on a starved host that reads it only once. Logging in
admittedMotionconfirmed this for every failing copy: one reading foundbutton#headat 578, against 598 from its layout, and the next found it back at 598. That is also why the dwell variant from the last update still failed. Even 140ms past its place fit inside one throttled frame. The overshoot fault now runs for 1600ms, as the key variant does, and the watch is unchanged. Linux,--workers 4 --load 2 --cpu-throttle 3: 10 of 24 copies failed on main atcd2495ac7. With the fix, 24 of 24 passed at throttle 3 and 24 of 24 at throttle 8.test_reading_placeChromium PageDown during atglide. Aflakedispatch atcd2495ac7on the macOS runner (run 46118820201) failed 4 of 54under waycopies and 6 of 54at oncecopies. On Linux, 48 of 48 passed even at--cpu-throttle 8. Every failing copy shows the sequence the last update gave:landForKeylands the glide at 2483 inside the keydown handler and leaves the key unprevented.scrollevent ever reads past 2483, where an undisturbed step reaches 3331.A second dispatch (run 46120502344, 4 of 54 failed) wrapped every
scrollTo,scroll,scrollBy,scrollIntoViewandscrollTopwrite with its caller. That rules out a script write that cancels the step: a failing copy has no write after the key's handler returns. Inside the handler, the writes match a passing Linux copy exactly.readScrolled(dom/arrivals.js) makes three probe write-and-restore pairs between 2483 and 1026, and thenlandGlidewrites 2483. So Chromium on a slow host drops its own PageDown step after a keydown handler scrolls the box with instant writes. It doesn't drop it every time.held_framesholds only the page'srequestAnimationFrameandperformance.now, not Chromium's scroll animator, so the hold isn't the cause. A user pressing PageDown during a glide in Chromium on a slow machine would see it ignored.The next step is to check whether that Chromium behaviour reproduces without Leaf. The test would be a bare page whose keydown handler scrolls instantly, run on the macOS runner. If it does, the fix belongs in
landForKey, which would have to stop relying on the browser's step in Chromium. That runs into the trade-off inscrolling.js's glide header, which says a script can't read the native step's distance. If it doesn't, the probe pairs inreadScrolledare the next suspect.test_comment_marks[firefox_browser]still waits on a recurrence, as the last update said.test: hold and step the shift-watch overshoot fault instead of lettin…
test: probe overflow-anchor hold too (#6744, not for main)
test: probe a focus move to an anchored card too (#6744, not for main)
test: correct the probe counts in the PageDown gap's note
leaf-agent commentedon Nov 29, 2026
This issue's last two open tests are now settled, so I'm closing it. #7607 owns the PageDown case, and the Firefox comment-marks case waits on a recurrence.
test_reading_place[browser-t-PageDown-*]: Chromium drops the step on its own. A bare page with no Leaf code, run on the macOS runner, reproduces the dropped PageDown step. The page glides the window by instant writes.tmoves focus without scrolling, and the PageDown handler then makes the same instant writeslandForKeymakes. The step was dropped in 3 of 432 copies with the focus move, and in 0 of 594 without it. In the same run, Leaf's own two cases failed 3 of 108 as a control. Each failing bare copy ends exactly at the glide's goal, the shape Leaf's failures show. So the next step the last update named ("does that Chromium behaviour reproduce without Leaf?") has its answer: yes. #7607 records the gap innotes/browser-support.mdand marks the two Chromiumt-then-PageDown cases as non-strict expected failures. It doesn't changelandForKey. That note's rule is to record a gap rather than correct it in Leaf's code unless the gap shows on a path users take often, and here the user would have to press PageDown inside a 140ms glide on a starved machine. The note's recheck says when the mark can go. The PR's review, CI and landing are with tend-review and tend-land.test_comment_marks[firefox_browser]: waiting on a recurrence. It passed 54 of 54 copies on the macOS runner atd81334eb9(the PR's first commit) (run 46238842972), against 3 of 18 on Nov 22. It also passed on both platforms in every scheduled run since. The Chromium throttle doesn't reach Firefox, so there is no other way to force it. If it fails again, the empty marked range ({'text': '', 'elements': []}) and the page's picture in.tmp/test-results/screens/are what the next triage needs. The next failed run will bring it back.Probe runs
The probe test is
tests/journeys/navigation/test_probe_bare_pagedown.pyon branchflake/issue-6744-bare-pagedown, which isn't for main.overflow-anchoranimation; Leaf's two cases as a controltest: name the bare PageDown probe and how to rerun it in the gap's note
test: treat Chromium's dropped PageDown step during a t glide as a kn…