Description
Since #5371 ("Present a page of large text documents in Firefox without restyling every row"), a closed tab's document comment never shows its quote, and the bare-text refusal's console message never arrives.
Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):
tests/browser/projection/test_widget_actions.py::test_a_module_that_stages_bare_text_is_refused_in_its_own_nameplaywright._impl._errors.TimeoutError: Timeout 120000ms exceeded while waiting for event "console" =========================== logs =========================== waiting for event "console" ============================================================tests/browser/widgets/test_code_and_documents.py::test_a_comment_on_a_closed_tab_s_document_never_reads_as_earlier_dataAssertionError: Locator expected to be visible Actual value: None Error: element(s) not found Call log: - Expect "to_be_visible" locator(".lf-fp-view[data-lf-route=\"thread\"]:not([data-lf-leaving])[data-lf-thread=\"e4655e65\"]").locator(".lf-fp-quote") with timeout 120000ms - waiting for locator(".lf-fp-view[data-lf-route=\"thread\"]:not([data-lf-leaving])[data-lf-thread=\"e4655e65\"]").locator(".lf-fp-quote") Aria
Introducing change: #5371 (0a22a8c). Bisect over the febb3e4..4ef9f29 range ran test_a_module_that_stages_bare_text_is_refused_in_its_own_name at each step; test_a_module_that_stages_bare_text_is_refused_in_its_own_name passes on the earlier bisect steps and fails on 0a22a8c52. test_a_comment_on_a_closed_tab_s_document_never_reads_as_earlier_data fails on 0a22a8c52 and first failed in the same CI run.
CI evidence: first failing push run 41908798450, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.
No cause has been diagnosed past the bisect. Read #5371's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5371 replaced (update the test) or caught a regression (fix the code).
Cause of a failure tracked in #3985.
Activity
leaf-agent commentedon Nov 5, 2026
The fix is in #5569. I confirmed the cause for both tests:
test_a_module_that_stages_bare_text_is_refused_in_its_own_name. This was a real regression. The bare-text refusal only fired because the margin's points (placePoints) read the whole page on every pass, and that walk reached the widget's root. Present a page of large text documents in Firefox without restyling every row #5371 made that read lazy, so a page with no comment to find again now presents without reading itself. The malformed module was never refused. Putting the eager read back makes the test pass on main. fix: refuse a module's bare shadow-root text at startup, not only when the page is read #5569 keeps Present a page of large text documents in Firefox without restyling every row #5371's lazy read and has startup check every declared shadow root just before the page marks itself upgraded. After a maintainer comment, the check also covers stages nested inside another stage (b2d194285). The test fails on main and passes on the branch. CI was green on the first commit, and the nested-stage follow-up is still running CI and review in the session that pushed it.test_a_comment_on_a_closed_tab_s_document_never_reads_as_earlier_data. This one is already fixed on main. Present a page of large text documents in Firefox without restyling every row #5371 added it with the.lf-fp-quotelocator, while Show a phone user the panel's words that only a hover could read #5454 renamed that class to.lf-thread-quoteand updated the test. It has passed in everycipush run since 42029761182.