Repository navigation
Description
Six tests failed only in the test-macos job of scheduled run 44722728605 (d714c2e60). Each passed in the same run's Linux test job, and none failed on macOS in the Nov 19 scheduled run (8512ab218):
| Test | Deciding assertion |
|---|---|
tests/browser/margin/test_card_reply.py::test_sending_during_a_stream_keeps_later_tokens_from_moving_the_reply[pending] |
assert 146.140625 == 125.140625 ± 0.5: the reply sits 21 px from where it was read before the later tokens |
tests/browser/widgets/test_deck.py::test_by_keyboard_the_forward_control_hands_over_to_the_step_back_in |
lf-deck .lf-deck-forward (Later) expected focused, still inactive for 120 s |
tests/journeys/test_render_gate.py::test_page_fixture_opens_without_firefox_console_warnings[thread-panel-gallery] |
teardown: window error: ResizeObserver loop completed with undelivered notifications. |
tests/journeys/test_render_projection.py::test_an_old_document_state_request_cannot_update_the_new_revision |
the test's wait_for_function predicate throws TypeError: Cannot read properties of null (reading 'getAnimations') in finite, which reads an element that is gone |
tests/journeys/test_render_widgets.py::test_a_contents_spine_maps_the_document_until_the_user_enters_it |
spine positions [0, 0, 2320, 2320, 2320, 2320], so len({2320}) >= 2 fails: the markers past the first two share one position |
tests/journeys/test_website_server.py::test_a_website_turn_posts_its_answer_when_the_move_is_settled_first[elsewhere] |
box y 688 against an expected 688.978759765625. This is a different reading from #6518's focus assertion, which #6526 fixed |
Earlier issues touched three of these tests, but each with a different symptom. #5708 and #5743 fixed a corpus ResizeObserver loop, #6175 the spine's 7 px markers, and #6518 the hosted reply's focus. So none of them owns these readings.
The macOS job's other five failures in this run already have owners. test_the_shipped_long_thread_keeps_the_margin_and_its_height is #6139, test_a_pass_for_a_change_to_the_rows_seats_them_as_a_whole_pass_would is #6591, test_every_way_back_from_a_settlement_returns_the_user_where_they_made_it[card_surface-resolve] and test_firefox_paints_the_author_and_words_in_the_same_send_flash are #6303, and test_presses_and_fills_leave_no_element_naming_stale_keys[file-tree] is #6595.
Next step. Dispatch ci with the flake input, naming these node ids, to run them on CI's Mac (#6434). That shows which fail durably on current main. A durable failure gets bisected to its introducing PR. One that passes every copy joins the night-to-night macOS load reading. Each job's screens/ in the run's pytest-results-test-macos-* artifact holds the failing pages' pictures.
Cause of a failure tracked in #4225.
Activity
[-]Six tests fail only on macOS in the Nov 20 scheduled run: stream reply offset, deck Later focus, Firefox ResizeObserver loop, projection getAnimations, spine positions, hosted box y[/-][+]test_an_old_document_state_request_cannot_update_the_new_revision: panel_settled reads a null panel host on macOS[/+]leaf-agent commentedon Nov 20, 2026
Five of the six reproduce on current main, and each now has its own owner. The sixth, the projection test, didn't reproduce, so this issue keeps it. I've retitled it to match.
On CI's Mac at
d714c2e60(dispatch 44762687613, 18 copies each,--workers 1 --load 4):test_sending_during_a_stream_keeps_later_tokens_from_moving_the_reply[pending]test_by_keyboard_the_forward_control_hands_over_to_the_step_back_intest_page_fixture_opens_without_firefox_console_warnings[thread-panel-gallery]test_a_contents_spine_maps_the_document_until_the_user_enters_ittest_a_website_turn_posts_its_answer_when_the_move_is_settled_first[elsewhere]test_an_old_document_state_request_cannot_update_the_new_revision#6608 fixes the website turn test: it read the thread's head box while the panel's view was still gliding. Across both parameters, line 109 failed 7 of 36 copies on main and 0 of 36 with the fix. Its CI and landing are with tend-land. The same runs turned up an inherited teardown finding in
[here], the panel's Back button moving 77 px without input. That is #6609.Projection test. The failing wait was
panel_settled, called frompanel_menubefore the press on Open latest (render_harness.py:2119). Its predicate calledgetAnimationson a null.lf-floating-panelor.lf-fp-ground. The panel creates its ground together with itself (floating-panel.js:2093), so the whole panel host was missing at that moment, presumably while the test's fresh-document path replaced the page. A throwing predicate ends the wait with an error, where a missing host should keep it waiting. Either that's what to change inpanel_settled, or the panel really vanishes there and the test should wait on the document swap first. With no reproduction yet, neither is shown. The next attempt is a higher copy count, or--load 8, on this node id, and reading the failing copy's page picture.test: read the hosted thread's head after the panel settles in the we…
leaf-agent commentedon Nov 21, 2026
Diagnosed and fixed in #6648. The page wasn't failing to draw the panel. It replaced itself: the failing run's page picture shows "Live second", with the draft carried over, before the test pressed Open latest.
The test's draft holds revision 1 only while the caret is in it.
panel_menuopens the leaf's menu, which moves focus to the menu's search. A heartbeat that falls while the menu is open (every 2 s) then installs revision 2 by a fresh document, and the panel host is gone whenpanel_settledreads it. Holding the menu open for 4.5 s in the same setup reproduces this every time locally.#6648 presses Open latest through
open_latest, which runs the sameversionPicker.latest()without moving the caret. It also correctsversion.js, which still said an open menu defers an install; that hold went with the classic chrome in #3100. The edited test passes locally, and still passes with a 4.5 s pause before Open latest. Since CI's Mac didn't reproduce this in 18 copies, the after evidence is the next scheduledtest-macosrun once #6648 merges. tend-land owns the PR's CI and landing.