Repository navigation
Closed
Labels
tend-ci-causeA root cause of a CI failure report
Description
The scheduled run 41432142330 records the following failing boundary. This is CI evidence, not a claim that the failure persists on current main or that its cause is established.
Reconcile current main, existing repairs and active work before reproducing. Diagnose the shared failing operation before choosing a fix; split ownership if reproduction establishes different mechanisms. Preserve the intended behavior from the originating changes and follow the repository’s focused verification, review and landing gates.
tests.journeys.test_render_controls::test_a_newer_wheel_supersedes_a_panel_resize_landing — Linux
browser = <render_harness.WatchedBrowser object at 0x7ff664a92150>
serve = <function serve.<locals>.go at 0x7ff6a8a92f20>
@pytest.mark.watch_shifts
def test_a_newer_wheel_supersedes_a_panel_resize_landing(browser, serve):
"""A focused Threads row belongs to the reader's newer scroll while resize waits.
Native scroll keeps focus on the row. Hold the actual frame handoff so the
resize starts with that title visible and the wheel moves it away before the
correction runs; wheel-before-resize exercises a different ownership order.
"""
page = open_page(browser, serve(LONG_PAGE, comments=24))
resized(page, 1000, 640)
page.keyboard.press("g")
page.keyboard.press("Shift+t")
panel_settled(page, view="threads")
threads = page.locator(panel_view("threads"))
for _ in range(6):
page.keyboard.press("ArrowDown")
title = threads.locator(".lf-fp-thread").nth(5)
rendered(page)
> expect(title).to_be_focused()
E AssertionError: Locator expected to be focused
E Actual value: inactive
E Call log:
E - Expect "to_be_focused" locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving])").locator(".lf-fp-thread").nth(5) with timeout 120000ms
E - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving])").locator(".lf-fp-thread").nth(5)
E 242 × locator resolved to <button type="button" tabindex="-1" data-lf-gen="1" data-key="b9f7a304" data-lf-offer="button" class="lf-row lf-fp-face lf-fp-thread lf-ui lf-ui-face">…</button>
E - unexpected value "inactive"
E
E Aria snapshot:
E - button "Comment 5. Long enough to wrap. Long enough to wrap. Long enough to wrap. Long enough to wrap. Still queued for Claude"
/home/runner/work/leaf/leaf/tests/journeys/test_render_controls.py:1749: AssertionError
tests.journeys.test_render_controls::test_a_newer_wheel_supersedes_a_panel_resize_landing — macOS
browser = <render_harness.WatchedBrowser object at 0x10c0ae480>
serve = <function serve.<locals>.go at 0x114170540>
@pytest.mark.watch_shifts
def test_a_newer_wheel_supersedes_a_panel_resize_landing(browser, serve):
"""A focused Threads row belongs to the reader's newer scroll while resize waits.
Native scroll keeps focus on the row. Hold the actual frame handoff so the
resize starts with that title visible and the wheel moves it away before the
correction runs; wheel-before-resize exercises a different ownership order.
"""
page = open_page(browser, serve(LONG_PAGE, comments=24))
resized(page, 1000, 640)
page.keyboard.press("g")
page.keyboard.press("Shift+t")
panel_settled(page, view="threads")
threads = page.locator(panel_view("threads"))
for _ in range(6):
page.keyboard.press("ArrowDown")
title = threads.locator(".lf-fp-thread").nth(5)
rendered(page)
> expect(title).to_be_focused()
E AssertionError: Locator expected to be focused
E Actual value: inactive
E Call log:
E - Expect "to_be_focused" locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving])").locator(".lf-fp-thread").nth(5) with timeout 120000ms
E - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving])").locator(".lf-fp-thread").nth(5)
E 241 × locator resolved to <button type="button" tabindex="-1" data-lf-gen="1" data-key="4214914e" data-lf-offer="button" class="lf-row lf-fp-face lf-fp-thread lf-ui lf-ui-face">…</button>
E - unexpected value "inactive"
E
E Aria snapshot:
E - button "Comment 5. Long enough to wrap. Long enough to wrap. Long enough to wrap. Long enough to wrap. Still queued for Claude"
/Users/runner/work/leaf/leaf/tests/journeys/test_render_controls.py:1749: AssertionError
The full tracebacks are in that run’s pytest-results-* JUnit artifacts.
Cause of a failure tracked in #4225.
Metadata
Metadata
Assignees
Labels
tend-ci-causeA root cause of a CI failure report
Activity
leaf-agent commentedon Nov 4, 2026
The test, not the product, is wrong here. Repair: #5353.
#5039 made
g Shift+Tstand Threads on its first row. This journey still pressed ArrowDown six times from that row, so it reached row 6 and timed out waiting for focus on row 5. That is why it has failed in every scheduled run since 2 November. #5353 reduces it to five presses and leaves the resize-and-wheel checks unchanged. The test fails on current main and passes locally with the change, including under--cpu-throttle 4. #5337 already fixed five other tests that #5039 shifted the same way. #5353's review and CI are still pending. The next scheduledtest-macosrun after it merges will show the macOS result.