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
Five tests fail only on macOS in the Nov 23 scheduled run: align current item, file editor save, read-state teardown, pr-walkthrough ring, motion recordings #6872
These tests failed only in the test-macos job of scheduled run 45159811021 on c8ab9ec1df44. The Linux test job ran them in the same run and passed them, and none failed in the previous scheduled run, 45014446027 on d53e9994f. None has been reproduced. 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 find which fail every time.
moved-without-input on div.cm-gutterElement.cm-activeLineGutter in lf-file-editor#notes-file by (0, 4) and (0, 14). The same run also reports Failed to load resource: net::ERR_FAILED on /api/files/notes and words-left-screen "Baseline notes.Draft." #6859, #6787 and #6776 changed this widget's save and colouring in the range.
tests/journeys/test_render_read_state.py::test_a_page_seat_the_open_panel_stands_over_is_not_read[True] and [False] (teardown)
moved-without-input on leaf-text.lf-ui in lf-diff#patch's shadow root by (0, -257) and (0, -297)
1 fault over 42 samples: in pr-walkthrough, the top edge of the ring on lf-group "Approve PR #3865?" shows at 87% of 171 samples. #6842 and #6840 changed how boxes draw their rings in the range.
after play.tap() the two recordings' currentTime differ: 0.3232 == 0.2859 (line 100). #5169 and #4418 tracked earlier drifts between these recordings.
The same run's other macOS-only failures already have owners: the github-discoveries render gate and the [Feed] teardown shift in test_primary_reading_holds_remote_changes_before_package_layout belong to #6744, and the Firefox glide key and Firefox send-flash tests belong to #6303.
changed the title [-]Six tests fail only on macOS in the Nov 23 scheduled run: align current item, file editor save, read-state teardown, pr-walkthrough ring, motion recordings[/-][+]Five tests fail only on macOS in the Nov 23 scheduled run: align current item, file editor save, read-state teardown, pr-walkthrough ring, motion recordings[/+]on Nov 23, 2026
I ran each test alone on the macOS runner: 9 copies with --load 2, on main at 1bf92095f (run 45203893598). That splits the five tests three ways.
pr-walkthrough ring: a real defect, fix in #6887. It failed 9 of 9. A bisect on the same runner put the first failing commit at #6771 (e4cf28028); its parent passes. A diagnostic run showed what covers the ring: the focus preview of the decision's margin marker. #6771's markRoom walks the preview's subject's tree ancestors. The marker's seat isn't inside the lf-group, so the walk never counted the decision's ring. The preview stood with its bottom exactly on the ring's outer edge (y 434.8), and its face's shadow covered x 1058–1192 of the ring's top edge. #6887 starts the walk from the element a margin seat stands for. On that branch the journey test passes 3 of 3 copies on macOS, and a new browser test reproduces the 0px clearance on Linux. Its CI and landing are with tend-land.
Read-state teardown shift: intermittent, not yet fixed. Each parameter failed 1 of 9, with the same leaf-text shift (−257, −297) as the scheduled run. In the failing frame the diff's thread outlet grows 88px (150 → 238, the answer laid out) in the same paint as the test's second scrollBy, which brings the outlet up from below the 900px window foot. So the answer's growth wasn't credited to any input. That fits the answer's layout and the scroll landing in one starved frame. The next step is to let the answer's frame render before the scroll and show the before and after on the macOS runner (54 copies at the 1-in-9 rate). That work stays on this issue.
Align current item, file editor save, motion recordings: passed every copy (9 of 9 each). None of the three reproduced under load on its own, so the only evidence left is the next failure. If one recurs, its deciding diagnostic should show whether it is the same failure:
the align test: the condition _expect_aligned waits for;
the file editor test: the ERR_FAILED on /api/files/notes beside the gutter shift;
the motion test: the currentTime gap after the pause-align step.
The file-editor test failed again, this time on Linux in push run 45249094355, with the same ERR_FAILED and gutter-shift diagnostics. It now reproduces locally (11 of 12 copies at --cpu-throttle 8), and the cause is the test's fake clock. Playwright's clock turns requestAnimationFrame into a timer, so CodeMirror's measure after view.setState, which corrects the gutter from its fresh 14px estimate to 24px rows, can land after a real paint. #6905 runs the test on real time, and it passes 18 of 18 copies at throttle 8. It doesn't touch this issue's read-state teardown shift.
The read-state teardown shift has a fix in #6974. The test scrolled to the answer as soon as it entered the DOM, so on a starved runner the answer's layout and the scroll landed in one frame, and the watch read the outlet's growth as a move without input. The test now waits for the answer to render before it scrolls. On the macOS runner, current main failed 8 of 54 copies with the same −257/−297 px shift (run 45342510720), and the branch passed 108 of 108 (run 45342507421). Its CI and landing are with tend-land.
This was the last test here still waiting on a fix: the ring and the file editor were fixed in #6887 and #6905, and the align and motion tests wait for a recurrence. So #6974 closes this issue when it merges.
The file editor's gutter shift is back, in a different test from the one #6905 fixed. tests/browser/test_render_files.py::test_file_editor_status_controls_take_a_finger_on_a_phone failed only on macOS in scheduled run 45378690705 on e7d5808f3, and Linux test passed it. Its findings have the same shape as this issue's original row: moved-without-input on div.cm-gutterElement.cm-activeLineGutter and div.cm-gutterElement in lf-file-editor#notes-file, by (0, 4) and (0, 14), plus console-errorFailed to load resource: net::ERR_FAILED and a 409 (Conflict) on /api/files/notes. Not yet reproduced. The next step is a macOS dispatch of this test alone, to compare its rate with the adopted_text test #6905 fixed.
The phone status-controls failure has the same cause as #6905's: the test installed Playwright's fake clock before the page loaded, so CodeMirror's gutter measure could land after a real paint. It reproduces locally, failing 11 of 12 copies at --cpu-throttle 8 with the same gutter finding. #7027 runs the test on real time with its assertions unchanged, and it passes 18 of 18 copies under the same throttle. Its CI and landing are with tend-land, and it closes this issue when it merges, since the align and motion tests are waiting for a recurrence.
Activity
[-]Six tests fail only on macOS in the Nov 23 scheduled run: align current item, file editor save, read-state teardown, pr-walkthrough ring, motion recordings[/-][+]Five tests fail only on macOS in the Nov 23 scheduled run: align current item, file editor save, read-state teardown, pr-walkthrough ring, motion recordings[/+]leaf-agent commentedon Nov 23, 2026
I ran each test alone on the macOS runner: 9 copies with
--load 2, on main at1bf92095f(run 45203893598). That splits the five tests three ways.pr-walkthrough ring: a real defect, fix in #6887. It failed 9 of 9. A bisect on the same runner put the first failing commit at #6771 (
e4cf28028); its parent passes. A diagnostic run showed what covers the ring: the focus preview of the decision's margin marker. #6771'smarkRoomwalks the preview's subject's tree ancestors. The marker's seat isn't inside thelf-group, so the walk never counted the decision's ring. The preview stood with its bottom exactly on the ring's outer edge (y 434.8), and its face's shadow covered x 1058–1192 of the ring's top edge. #6887 starts the walk from the element a margin seat stands for. On that branch the journey test passes 3 of 3 copies on macOS, and a new browser test reproduces the 0px clearance on Linux. Its CI and landing are with tend-land.Read-state teardown shift: intermittent, not yet fixed. Each parameter failed 1 of 9, with the same
leaf-textshift (−257, −297) as the scheduled run. In the failing frame the diff's thread outlet grows 88px (150 → 238, the answer laid out) in the same paint as the test's secondscrollBy, which brings the outlet up from below the 900px window foot. So the answer's growth wasn't credited to any input. That fits the answer's layout and the scroll landing in one starved frame. The next step is to let the answer's frame render before the scroll and show the before and after on the macOS runner (54 copies at the 1-in-9 rate). That work stays on this issue.Align current item, file editor save, motion recordings: passed every copy (9 of 9 each). None of the three reproduced under load on its own, so the only evidence left is the next failure. If one recurs, its deciding diagnostic should show whether it is the same failure:
_expect_alignedwaits for;ERR_FAILEDon/api/files/notesbeside the gutter shift;currentTimegap after the pause-align step.This issue stays open for the read-state shift.
fix: stand a margin marker's preview past the ring of the element it …
leaf-agent commentedon Nov 23, 2026
The file-editor test failed again, this time on Linux in push run 45249094355, with the same
ERR_FAILEDand gutter-shift diagnostics. It now reproduces locally (11 of 12 copies at--cpu-throttle 8), and the cause is the test's fake clock. Playwright's clock turnsrequestAnimationFrameinto a timer, so CodeMirror's measure afterview.setState, which corrects the gutter from its fresh 14px estimate to 24px rows, can land after a real paint. #6905 runs the test on real time, and it passes 18 of 18 copies at throttle 8. It doesn't touch this issue's read-state teardown shift.test: run the file editor's save-retry test on real animation frames (#…
leaf-agent commentedon Nov 24, 2026
The read-state teardown shift has a fix in #6974. The test scrolled to the answer as soon as it entered the DOM, so on a starved runner the answer's layout and the scroll landed in one frame, and the watch read the outlet's growth as a move without input. The test now waits for the answer to render before it scrolls. On the macOS runner, current main failed 8 of 54 copies with the same −257/−297 px shift (run 45342510720), and the branch passed 108 of 108 (run 45342507421). Its CI and landing are with tend-land.
This was the last test here still waiting on a fix: the ring and the file editor were fixed in #6887 and #6905, and the align and motion tests wait for a recurrence. So #6974 closes this issue when it merges.
leaf-agent commentedon Nov 24, 2026
The file editor's gutter shift is back, in a different test from the one #6905 fixed.
tests/browser/test_render_files.py::test_file_editor_status_controls_take_a_finger_on_a_phonefailed only on macOS in scheduled run 45378690705 one7d5808f3, and Linuxtestpassed it. Its findings have the same shape as this issue's original row:moved-without-inputondiv.cm-gutterElement.cm-activeLineGutteranddiv.cm-gutterElementinlf-file-editor#notes-file, by (0, 4) and (0, 14), plusconsole-errorFailed to load resource: net::ERR_FAILEDand a409 (Conflict)on/api/files/notes. Not yet reproduced. The next step is a macOS dispatch of this test alone, to compare its rate with theadopted_texttest #6905 fixed.leaf-agent commentedon Nov 24, 2026
The phone status-controls failure has the same cause as #6905's: the test installed Playwright's fake clock before the page loaded, so CodeMirror's gutter measure could land after a real paint. It reproduces locally, failing 11 of 12 copies at
--cpu-throttle 8with the same gutter finding. #7027 runs the test on real time with its assertions unchanged, and it passes 18 of 18 copies under the same throttle. Its CI and landing are with tend-land, and it closes this issue when it merges, since the align and motion tests are waiting for a recurrence.