Skip to content

Six tests fail only on macOS in the Nov 28 scheduled run: Go-to menu hint, comment box and button, two teardown shifts, motion #7532

Backlog

Description

@leaf-agent

These tests failed only in test-macos of scheduled run 46137118943 on ad7b71b63. The Linux test job passed each of them in the same run. Each also passed on macOS in the previous scheduled run, 45985529285 on 21c613f05, except the motion journey, which failed there too.

Test Deciding error
tests/browser/navigation/test_go_to.py::test_a_menu_row_a_go_to_key_runs_wears_that_key .lf-go-to-hints .lf-go-to-hint[data-lf-hint-code="H"] never visible
tests/browser/test_render_anchors.py::test_a_comment_box_follows_its_passage_and_resume_returns_the_writer box at y: -150.5, height 167: assert (-150.515625 + 167) < 0
tests/browser/test_render_anchors.py::test_the_comment_button_stands_on_no_control floating chrome is standing on controls: ['lf-icon-action lf-grip lf-ui lf-ui-face']
tests/browser/test_render_files.py::test_a_double_click_on_the_rendered_copy_types_at_its_line_in_the_editor (teardown) #text in th in tr in thead in table in div.lf-text-document-preview moved without input by (2, 0)px
tests/journeys/margin/test_card_placement.py::test_an_open_card_takes_news_without_moving_its_controls (teardown) leaf-text.lf-ui and the send button moved without input by (0, 2)px
tests/journeys/widgets/test_motion.py::test_motion_recordings_share_native_playback_and_a_sticky_transport assert 4.155598 == 4.155599, the same failure as on 21c613f05. #7412's 6-copy probe passed it, so it was left to wait for a recurrence, and this is that recurrence.

None reproduces on Linux in this run. 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 to see which fail every time. The motion row compares a float for exact equality, a difference in the sixth decimal, so a tolerance or a read of the same value may settle it once the source of the two readings is known. The two test_render_anchors rows and the open-card teardown involve the margin card's geometry, which #7442 changed (#7528).

Cause of a failure tracked in #7525.

Activity

  1. added
    tend-ci-cause
    on Nov 28, 2026
  2. added a commit that references this issue on Nov 28, 2026
  3. leaf-agent commented on Nov 28, 2026

    @leaf-agent
    CollaboratorAuthor

    All six failures reproduce on the macOS runner at main 6313a6f59 (46168668757, 12 copies each), so none is a one-off. #7539, now merged, fixes the two deterministic ones. Four remain open here, and the table records where each stands.

    Test main, 12 copies Bracket Status
    test_a_comment_box_follows_its_passage_and_resume_returns_the_writer 0/12 pass 8/8 at #7442's parent, 0/8 at #7442 Fixed by #7539 (18/18 on macOS)
    test_the_comment_button_stands_on_no_control 0/12 same Fixed by #7539 (18/18 on macOS)
    test_a_double_click_on_the_rendered_copy_types_at_its_line_in_the_editor (teardown) 4 errors 0/8 at #7442's parent, 4/8 at #7442 Introduced by #7442; undiagnosed
    test_a_menu_row_a_go_to_key_runs_wears_that_key 5 failures 48/48 across six commits up to 84e54b62e (#7449); 10 of 64 from #7448 to #7442's parent Most likely introduced by #7448; undiagnosed
    test_an_open_card_takes_news_without_moving_its_controls (teardown) 3 errors 1/8 already at #7442's parent Predates #7442; not bracketed
    test_motion_recordings_share_native_playback_and_a_sticky_transport 2 failures failed on 21c613f05 too Not bracketed

    Anchors tests. These are geometry, not a product defect. #7442's 33px-taller box frame pushed two layouts over an edge that Linux's line wrapping keeps them clear of. #7539 changes only the tests' arrangements.

    Render-files teardown. A th in div.lf-text-document-preview shifts 1.7px sideways after the double-click, with no scroll or animation credit. This is a passive shift in the product, not a test-arrangement issue.

    Go-to hint. The failing page has Go-to armed (the bar reads "Go to" and the leaf wears its a chip). But the Annotations submenu's rows wear no chips: "Hide annotations" still shows its own g H keycaps. The bracket points at #7448 (defineWidget's contract), but the rate after it is low and uneven (1, 1, 0, 2, 0, 0, 0, then 6 of 8), so 8-copy dispatches can't place it more exactly.

    Motion. Both failures this time were at test_motion.py:100, after the pause-alignment step (0.1238 == 0.0236, 0.0614 == 0.0181). Those differences are far beyond the microsecond truncation that step's comment describes, so a recording isn't being sought at all on that pause. The scheduled run's failure (4.155598 == 4.155599) was at the same line.

    Dispatches

    flake dispatches of ci on test-macos. Each probe branch was pushed at the named commit and has since been deleted.

  4. leaf-agent commented on Nov 29, 2026

    @leaf-agent
    CollaboratorAuthor

    Three of the four remaining failures now have a cause. Two have fixes that pass on macOS, and the Go-to cause is reproduced locally but not yet fixed.

    Test Cause Status
    test_a_double_click_on_the_rendered_copy_types_at_its_line_in_the_editor (teardown) The test's own keystroke (below) #7604: 18/18 on macOS, where main errored 4/12
    test_motion_recordings_share_native_playback_and_a_sticky_transport The test's search for a sub-microsecond position plays past the recording's end (below) #7606: 36/36 on macOS, where main failed 3/30
    test_a_menu_row_a_go_to_key_runs_wears_that_key Go-to's chip map is read while an arriving panel view is still at opacity 0 (below) Reproduced locally; fix not written
    test_an_open_card_takes_news_without_moving_its_controls (teardown) Undiagnosed 4/4 pass locally with Chromium slowed 4x

    Render-files teardown. The test typed Z at the start of | x | gamma | to show the caret's column. That gave the preview's table a new first cell, so the table's columns reflowed. lf-text-document draws that reflow after native awaits, which the input watch doesn't follow, so on a slow runner it was reported as a move without input. With Chromium slowed 4x on Linux, 3 of 4 copies fail. They pass 4 of 4 with only the keystroke removed, and 6 of 6 with #7604, which checks the column with Shift+End instead. #7604's own test job is red with a different teardown error in this test, unchanged write: tabindex on lf-tab#written--preview. That error reproduces on main at 1026a7485 without the change and comes from #7585 (comment).

    Motion. An instrumented 18-copy probe (46234649115) logged each video's media events. The pause-alignment step pauses and resumes the leading recording until it stops on a position whole microseconds can't hold. macOS's media clock steps by 100 µs, so such a position is rare there. In the failing copy, the leader played through its 8 s end first, so the study's playback ended with both videos at 8 s, and the press meant to pause replayed from 0. #7606 seeks the leader back once it passes half the recording. The scheduled run's own failure, 4.155598 == 4.155599, doesn't fit this mechanism, and that run left nothing beyond the assertion.

    Go-to hint. I reproduced it locally by pressing g straight after the click that opens the Annotations submenu: 3 failures in 18 copies. The panel fades the arriving view in from opacity 0 (floating-panel.js). Go-to drops any control whose checkVisibility({opacityProperty: true}) is false (go-to-sequence.js). Arming reads the map at the keypress and once more after the frame it paints (hints.js). When the fade starts in that same frame, both reads find div.lf-fp-view at opacity 0, with the fade's currentTime at 0. One frame later it is at 0.37 and the rows are visible, but nothing reads the map again, so the submenu keeps no chips. A user who presses g as a view opens sees the same thing. The hints.js header says a view that began to fade in as the user pressed "shows its controls from that frame on". The fix is therefore in the runtime, either in which transparency counts as unseen or in when the map is re-read, and that is the next step here.

    Refs #7604, #7606.

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