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.browser.test_render_reactions::test_a_remote_resolve_disarms_the_open_reply_list_it_takes_away — Linux
browser = <render_harness.WatchedBrowser object at 0x7f8d7f9926f0>
serve = <function serve.<locals>.go at 0x7f8d8454a020>
def test_a_remote_resolve_disarms_the_open_reply_list_it_takes_away(browser, serve):
"""A remote resolve waits behind the open view's notice, so the strip whose list is
open stays. A digit there means what the strip drew, and a resolved thread offers
no reaction, so it sends nothing; as the user's gesture in the thread it shows the
resolution, whose messages wear no strip. The detached list stops owning digits,
and the user stays on the thread they were in."""
url = serve(PANEL_PAGE)
root, reply = _thread(serve.page_dir)
page = open_page(browser, url)
view = open_panel_thread(page, root)
strip = view.locator(f'.lf-msg[data-message="{reply}"] .lf-react-strip')
trigger = view.locator(f'.lf-msg[data-message="{reply}"] .lf-react-trigger')
trigger.click()
expect(strip.locator(".lf-react-palette:popover-open")).to_have_count(1)
thread_model.cmd_resolve(serve.page_dir, root)
told(page)
> expect(page.locator(".lf-fp-head .lf-thread-news")).to_have_text("Resolved")
E AssertionError: Locator expected to have text 'Resolved'
E Actual value: 1 new
E Call log:
E - Expect "to_have_text" locator(".lf-fp-head .lf-thread-news") with timeout 120000ms
E - waiting for locator(".lf-fp-head .lf-thread-news")
E 242 × locator resolved to <button type="button" data-lf-gen="1" data-lf-news="" title="Resolved" data-lf-offer="button" aria-keyshortcuts="Enter Space" class="lf-inline-action lf-thread-news lf-ui lf-ui-face">…</button>
E - unexpected value "1 new"
E
E Aria snapshot:
E - button "1 new"
/home/runner/work/leaf/leaf/tests/browser/test_render_reactions.py:2430: AssertionError
tests.browser.test_render_reactions::test_a_remote_resolve_disarms_the_open_reply_list_it_takes_away — macOS
browser = <render_harness.WatchedBrowser object at 0x10d640ef0>
serve = <function serve.<locals>.go at 0x11e8d2340>
def test_a_remote_resolve_disarms_the_open_reply_list_it_takes_away(browser, serve):
"""A remote resolve waits behind the open view's notice, so the strip whose list is
open stays. A digit there means what the strip drew, and a resolved thread offers
no reaction, so it sends nothing; as the user's gesture in the thread it shows the
resolution, whose messages wear no strip. The detached list stops owning digits,
and the user stays on the thread they were in."""
url = serve(PANEL_PAGE)
root, reply = _thread(serve.page_dir)
page = open_page(browser, url)
view = open_panel_thread(page, root)
strip = view.locator(f'.lf-msg[data-message="{reply}"] .lf-react-strip')
trigger = view.locator(f'.lf-msg[data-message="{reply}"] .lf-react-trigger')
trigger.click()
expect(strip.locator(".lf-react-palette:popover-open")).to_have_count(1)
thread_model.cmd_resolve(serve.page_dir, root)
told(page)
> expect(page.locator(".lf-fp-head .lf-thread-news")).to_have_text("Resolved")
E AssertionError: Locator expected to have text 'Resolved'
E Actual value: 1 new
E Call log:
E - Expect "to_have_text" locator(".lf-fp-head .lf-thread-news") with timeout 120000ms
E - waiting for locator(".lf-fp-head .lf-thread-news")
E 241 × locator resolved to <button type="button" data-lf-gen="1" data-lf-news="" title="Resolved" data-lf-offer="button" aria-keyshortcuts="Enter Space" class="lf-inline-action lf-thread-news lf-ui lf-ui-face">…</button>
E - unexpected value "1 new"
E
E Aria snapshot:
E - button "1 new"
/Users/runner/work/leaf/leaf/tests/browser/test_render_reactions.py:2430: 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 3, 2026
The same
Resolvedversus1 newassertion also blocks these cases in scheduled run 41432142330. Their earlier closed causes concern different boundaries (reply disappearance or metadata motion); this run stops at the news-label assertion before proving those later behaviors. Treat these as additional consumers of the news-label boundary and split them only if reproduction shows separate causes.Evidence: scheduled run 41432142330,
pytest-results-*JUnit artifacts.tests.browser.test_render_pages::test_a_failed_resolution_restores_a_focused_inline_reply: AssertionError: Locator expected to have text 'Resolved' Actual value: 1 newtests.browser.test_render_pages::test_failed_resolve_candidate_restores_focused_reply: AssertionError: Locator expected to have text 'Resolved' Actual value: 1 newtests.browser.threads.test_seated_threads::test_a_thread_resolved_while_its_reply_is_written_keeps_the_user_on_it[diff-clear]: AssertionError: Locator expected to contain text 'Resolved' Actual value: 1 newtests.journeys.test_website_server::test_a_website_turn_posts_its_answer_when_the_move_is_settled_first[here]: AssertionError: Locator expected to have text 'Resolved' Actual value: 1 newtests.journeys.test_website_server::test_a_website_turn_posts_its_answer_when_the_move_is_settled_first[elsewhere]: AssertionError: Locator expected to have text 'Resolved' Actual value: 1 newleaf-agent commentedon Nov 3, 2026
Push run 41576718956 also blocks
tests/browser/threads/test_seated_threads.py::test_a_resolution_from_elsewhere_moves_nothing_after_a_diff_thread: the exactResolvedbutton locator finds nothing, while its snapshot shows the held1 newbutton. It stops before the later movement assertion. The refused panel/inline cases and diff-clear case have the same expected/actual notice words already recorded here. I am closing my overlapping #5155 and retaining this issue as the shared news-presentation investigation owner.Leave a place the user scrolled away from out of the keys (#5192)
leaf-agent commentedon Nov 4, 2026
Two more tests in
tests/browser/test_render_pages.pyfail the same way:test_a_failed_resolution_restores_a_focused_inline_replyandtest_failed_resolve_candidate_restores_focused_replyexpect the panel's held-news notice to readResolvedafter a remote Resolve, and get1 new. OnmainaKeyError: 'browser'in their route handlers stops them before that assertion. #5321 fixes the handlers, and its CI (run 41802062077) shows both reaching this failure.Fix the Versions rollback test and four other tests broken by partial…
leaf-agent commentedon Nov 4, 2026
The tests are stale, not the notice. #5039 deliberately made held-news notices say one count ("1 new") and moved each fact, Resolved included, into the notice's title. The user chose that on 31 October, as the
newsNoticeheader inbrowser/runtime/thread/held-news.jsrecords. The failing DOM shows exactly that: text1 new,title="Resolved".#5345 updates the six tests named here and in the comments to read
1 newas the text andResolvedas the title. On main, the reactions and diff-thread tests fail locally with the reported assertions. With the change, all 11 parametrized cases pass locally, including both journey parameters. The PR's CI is green at its head, and a tend-land run is landing it. Merging closes this issue.