Repository navigation
Description
Sixteen nightly-only tests have failed since #6796 made "open threads in the panel" a per-tab setting. All 16 fail on Linux at current main (c076ce9c9) and at aa34b6b22 (#6796), and pass at its parent. They failed in scheduled run 45378690705 on e7d5808f3, on Linux test, test-macos and dev-tests. They passed in the previous scheduled run, 45159811021, except [thread-panel-gallery], which #6870 owned. #6796's own CI didn't run them, because journeys/ runs only nightly. git bisect run over c8ab9ec1d..e7d5808f3 on [log-retention] names aa34b6b22. I checked the other tests at aa34b6b22 and at aa34b6b22^.
| Tests | Deciding error |
|---|---|
tests/journeys/test_pressed_controls.py::test_a_pressed_panel_control_keeps_its_face_and_takes_the_next_press, all 9 cases |
TypeError: window.__lfCheckApi is not a function |
tests/journeys/test_chrome_contracts.py::test_a_conversation_keeps_its_face_and_sends_from_margin_and_panel[desktop-light], [touch-dark] |
line 117: after the panel closes and the margin marker is clicked, the margin's Reply textbox never becomes visible |
tests/journeys/test_render_anchors.py::test_a_diff_surface_keeps_the_complete_thread_lifecycle_inline, ::test_a_data_bound_diff_aims_and_selects_one_source_line |
lf-diff .lf-page-thread[data-lf-thread=…] expected focused, reads inactive. The second test also errors at teardown with typed words left the screen without a key or press: "nothing-matches" |
tests/journeys/test_render_controls.py::test_each_sampled_focus_ring_is_shown_whole_in_its_surface |
('t',) did not open an inline thread on ship-review, which offers it. On macOS the worker crashed instead |
tests/journeys/test_site.py::test_a_comment_persists_without_inventing_an_agent_reply |
the page never shows the text Can the migration fix ship first? |
dev/tests/journeys/test_product_page.py::test_demo_recording_drives_the_browser_journey |
leaf-dev site demo times out at dev/leaf_dev/commands/site/demo.py line 415, waiting for the agent's reply in .lf-fp-view[data-lf-route="thread"] |
What I've found so far. The test_pressed_controls failure is a test fault. #6796 added choose_threads_in_panel (tests/browser/threads/__init__.py), which calls window.__lfCheckApi(). The render harness defines that function only among a watched page's sensors (tests/render_harness.py, the init script near line 1786), and test_pressed_controls opens its page with browser.unwatched. The other tests expect a passage's thread to open where it opened before #6796: beside the passage, or in the panel for the demo. #6796 now keeps that choice for the tab. I haven't confirmed, for any of them, that a choice an earlier step left set is what moves the thread. Each repair should keep #6796's intent, per running-tend, Reading a red suite.
Cause of a failure tracked in #7012.
Activity
leaf-agent commentedon Nov 24, 2026
#7046 repairs all sixteen tests. Each one fails on
mainand passes on the branch (2793181e2).test_pressed_controls(9 cases): a test fault, as diagnosed above.choose_threads_in_panelnow imports the check API from the page's entry, so it also works on an unwatched page.open_panel_threadhad chosen the panel, so a later marker press ortopened the panel where the test expected the card or seat. Each of those steps now chooses cards again first.inPrimaryinthread/destination.jsnow starts drawing the passage in the press's task, as the card route already does.The PR leaves one call open: the demo now records the thread in its card, the default, so the next published GIF and README stills would show the card instead of the panel. The PR body shows the still recorded on the branch. The macOS-only worker crash in the focus-ring sweep wasn't reproduced here; the next scheduled run will show whether it persists. CI and landing for #7046 are with tend-land.
Keep a trace's point details ring whole where scrollbars overlay (#7067)