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
Four tests fail only on macOS in the Nov 14 scheduled run: margin card on reply focus, cross-block search marks, two widget-quality runtimes #5950
In the test-macos job of scheduled run 43587194195 (6cfc59a83), four tests failed that passed on macOS in the five previous scheduled runs with JUnit results (43412323289, 43204020539, 43007021682, 42473165114, 42365682113). The one exception is the margin journey, which failed on Nov 12 (43007021682) for a reason #5879 has since fixed. All four pass in this run's Linux job. They also pass locally on Linux at main 82913de7f. Between the last passing run (a9e4d3e99) and this one, only #5936 (server turn-end check), #5937 (file-tree folders), #5938 (comments), #5939, #5940 (deps) and #5943 (thread test waits) landed. None of them changes the runtime paths below.
They look unrelated, so each needs its own diagnosis. I've assigned this to the maintainer because no Linux runner reproduces them (Fixing a CI failure's cause in running-tend).
tests/journeys/test_render_margin.py::test_margin_card_holds_its_top_while_read_and_its_reply_while_written. After the agent's reply arrives, the card's top holds, which passes at line 425. Then the test clicks the Reply box and calls rendered(page), and the card has moved from 152px to 612px (cardTop 612.046875, expected 152.046875 ± 0.5, line 433). A card that jumps 460px when the user focuses its reply box would be a real product defect, not test noise.
tests/browser/test_render_anchors.py::test_a_search_match_across_blocks_marks_and_selects_each_piece[browser-page]. The search status reads 1 of 1, but the painted marks are [1, 0]: the second block has no mark box yet (line 6891). The test reads the marks once, right after the status text, so this may be a read that happens before the second block's mark is painted. That hasn't been checked.
tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[playwright] and [visual-review]. Both report UnreadablePage: the runtime never started within 240000ms (src/leaf/render_gate/widget_quality.py:225) after about 243s each. The other 17 packages pass in about 0.4–7s. The probe holds the first leaf.js request, captures first boxes, then releases it. output.log has no ERR_NETWORK_CHANGED, which is the transient shape seen on Nov 11–13. These are the only two cases that hit the 240s limit, so the cause is probably specific to these two packages' examples rather than the runner.
A reproduction on macOS, or the failing pages' pictures in the run's pytest-results-test-macos-* artifact, should settle whether each one is a product race or a test read.
I've diagnosed one of the four failures and opened a test fix for it in #5951. The other three still need macOS. Here is what the run's failure pictures add:
Cross-block search marks: a test read race, fixed in test: wait for the page search's marks to repaint before reading them #5951. The status is drawn in the input handler, but the marks are drawn in the next repaint frame (browser/runtime/repaint.js, nextRender). The partial query before shadow already reads 1 of 1 and marks only the first block, which is the [1, 0] that macOS reported. In the failure picture both pieces are marked. On Linux, delaying the page's animation frames reproduces [1, 0], and the added rendered(page) wait fixes it.
Margin card on reply focus: the page scrolled, not the card. The failure picture shows the page scrolled almost to the top, with the card still beside its anchor, the "Which bracket" question. So the 460px is the page's scroll moving back by 460px after the Reply click, while the card stays attached to its passage. Locally the page holds scrollY 530 of a 1531px document through the reply click. The test passes, including with --cpu-throttle 10. What a macOS run should settle is what moves the window's scroll when the reply box takes focus.
Two widget-quality runtimes.playwright and visual-review pass locally in 14s and 7s, also with --cpu-throttle 10. In the same macOS job, several unrelated tests ran for 120–800s (for example test_new_rail_keeps_a_pin_reachable at 487s and test_each_sampled_focus_ring_is_shown_whole_in_its_surface at 793s), so a stalled runner is still possible. The artifact has no picture of these two, so only a macOS reproduction can tell a stall from a startup that never begins.
The issue stays with the maintainer for the two macOS-only causes.
Of the 4 tests this issue lists, 1 is fixed by #5978, 1 is fixed on main, and 2 are open. The next scheduled macOS run will show whether the fixes hold.
Update on the 2 test_bundled_widgets_meet_the_widget_quality_checks cases the status comment above left open: [playwright] didn't reproduce in 2 runs on this Mac's efficiency cores (taskpolicy -b). On Nov 14, [playwright] and [visual-review] started in the same second on different workers, and neither page's runtime started within 240 s. That points to one event on the runner rather than to the two widgets. It fits the net::ERR_NETWORK_CHANGED failures of Nov 11–13, when loads from 127.0.0.1 failed (402 such errors on Nov 11, 348 on Nov 12). These two pages don't record console errors, so their log can't confirm it.
This was written by Claude Code on behalf of max-sixty
Closing: #5978 fixed the margin card case and #5951 the search marks, and both pass in the Nov 15 scheduled macOS run (43706054091). The two widget-quality cases failed only on Nov 14, when neither page's runtime started within 240 s in the same second, and both pass on Nov 15.
This was written by Claude Code on behalf of max-sixty
Activity
leaf-agent commentedon Nov 14, 2026
I've diagnosed one of the four failures and opened a test fix for it in #5951. The other three still need macOS. Here is what the run's failure pictures add:
browser/runtime/repaint.js,nextRender). The partial querybefore shadowalready reads1 of 1and marks only the first block, which is the[1, 0]that macOS reported. In the failure picture both pieces are marked. On Linux, delaying the page's animation frames reproduces[1, 0], and the addedrendered(page)wait fixes it.scrollY530 of a 1531px document through the reply click. The test passes, including with--cpu-throttle 10. What a macOS run should settle is what moves the window's scroll when the reply box takes focus.playwrightandvisual-reviewpass locally in 14s and 7s, also with--cpu-throttle 10. In the same macOS job, several unrelated tests ran for 120–800s (for exampletest_new_rail_keeps_a_pin_reachableat 487s andtest_each_sampled_focus_ring_is_shown_whole_in_its_surfaceat 793s), so a stalled runner is still possible. The artifact has no picture of these two, so only a macOS reproduction can tell a stall from a startup that never begins.The issue stays with the maintainer for the two macOS-only causes.
test: wait for the page search's marks to repaint before reading them (…
Fix seventeen tests that fail only on the nightly macOS runner, and c…
max-sixty commentedon Nov 14, 2026
Of the 4 tests this issue lists, 1 is fixed by #5978, 1 is fixed on main, and 2 are open. The next scheduled macOS run will show whether the fixes hold.
max-sixty commentedon Nov 15, 2026
Update on the 2
test_bundled_widgets_meet_the_widget_quality_checkscases the status comment above left open:[playwright]didn't reproduce in 2 runs on this Mac's efficiency cores (taskpolicy -b). On Nov 14,[playwright]and[visual-review]started in the same second on different workers, and neither page's runtime started within 240 s. That points to one event on the runner rather than to the two widgets. It fits thenet::ERR_NETWORK_CHANGEDfailures of Nov 11–13, when loads from 127.0.0.1 failed (402 such errors on Nov 11, 348 on Nov 12). These two pages don't record console errors, so their log can't confirm it.max-sixty commentedon Nov 15, 2026
Closing: #5978 fixed the margin card case and #5951 the search marks, and both pass in the Nov 15 scheduled macOS run (43706054091). The two widget-quality cases failed only on Nov 14, when neither page's runtime started within 240 s in the same second, and both pass on Nov 15.