Repository navigation
Description
The scheduled run 41432142330 records this failing boundary. This report supplies CI evidence; it has not reproduced the failure on current main or established its cause.
Earlier test-name matches are #4256, #4245, #4246, #4582, #4581, #4474, #4937. Compare their deciding diagnostics and repairs before claiming recurrence; a name match alone is not shared ownership.
Reconcile against current main and active repair work, reproduce the focused boundary, and fix the highest incorrect owner while preserving the originating change’s intent and the user behavior. Reuse an existing owner when reproduction proves a shared mechanism. Follow normal review and landing gates.
tests.journeys.test_render_navigation::test_presses_and_fills_leave_no_element_naming_stale_keys[shadow-scale] — Linux
_browser = <Browser type=<BrowserType name=chromium executable_path=/home/runner/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome> version=156.0.8078.4>
request = <SubRequest 'browser' for <Function test_presses_and_fills_leave_no_element_naming_stale_keys[shadow-scale]>>
@pytest.fixture
def browser(_browser, request):
"""The shared browser process, with context ownership scoped to one test.
`Browser.new_page` opens a fresh context, so local and session storage remain
isolated. Rejecting browser problems and then closing every remaining context at
teardown makes health and lifetime fixture guarantees instead of conventions
repeated at the end of each journey. Closing may itself cancel outstanding requests,
so it happens after the health reading. Unroute first so cancellations of handlers
still in flight cannot reach the shared driver's next test.
Handed over wrapped, because the health half of that guarantee has to be installed
on each page before it navigates: a test that makes its own page gets one already
reporting to the collector this reads (`render_harness.WatchedBrowser`).
"""
from render_harness import WatchedBrowser, clean_browser
try:
> with clean_browser(request.node):
tests/conftest.py:830:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test = <Function test_presses_and_fills_leave_no_element_naming_stale_keys[shadow-scale]>
@contextmanager
def clean_browser(test=None):
"""Reject every browser problem a test did not explicitly consume.
The function-scoped browser fixture owns this collector along with its contexts.
A worker runs one test at a time, so one process-local collector covers pages made
by `WatchedBrowser`, render helpers, and tests that navigate a page
themselves. The fixture hands over its `test` node to select shift coverage
(`watches_shifts`); every problem a watch reports reaches this collector. A test
that failed or left problems leaves a picture of each page (`_picture_pages`).
"""
global _BROWSER_PROBLEM_LISTS, _TEST
assert _BROWSER_PROBLEM_LISTS is None, "browser problem collector already active"
captured = []
_BROWSER_PROBLEM_LISTS = captured
_TEST = test
try:
yield
finally:
_BROWSER_PROBLEM_LISTS = None
_TEST = None
problems = [
f"{getattr(page, 'url', '<browser page>')}: {problem}"
for page, problem_list in captured
for problem in problem_list
]
if test is not None and (problems or getattr(test, "lf_failed", False)):
_picture_pages(test, [page for page, _ in captured])
> assert not problems, "\n".join(problems)
E AssertionError: http://127.0.0.1:40333/versions/v1.html: unchanged write: disabled on button.ws-add
E assert not ['http://127.0.0.1:40333/versions/v1.html: unchanged write: disabled on button.ws-add']
tests/render_harness.py:1305: AssertionError
tests.journeys.test_render_navigation::test_presses_and_fills_leave_no_element_naming_stale_keys[shadow-scale] — macOS
_browser = <Browser type=<BrowserType name=chromium executable_path=/Users/runner/Library/Caches/ms-playwright/chromium-1248/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing> version=156.0.8078.4>
request = <SubRequest 'browser' for <Function test_presses_and_fills_leave_no_element_naming_stale_keys[shadow-scale]>>
@pytest.fixture
def browser(_browser, request):
"""The shared browser process, with context ownership scoped to one test.
`Browser.new_page` opens a fresh context, so local and session storage remain
isolated. Rejecting browser problems and then closing every remaining context at
teardown makes health and lifetime fixture guarantees instead of conventions
repeated at the end of each journey. Closing may itself cancel outstanding requests,
so it happens after the health reading. Unroute first so cancellations of handlers
still in flight cannot reach the shared driver's next test.
Handed over wrapped, because the health half of that guarantee has to be installed
on each page before it navigates: a test that makes its own page gets one already
reporting to the collector this reads (`render_harness.WatchedBrowser`).
"""
from render_harness import WatchedBrowser, clean_browser
try:
> with clean_browser(request.node):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:830:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test = <Function test_presses_and_fills_leave_no_element_naming_stale_keys[shadow-scale]>
@contextmanager
def clean_browser(test=None):
"""Reject every browser problem a test did not explicitly consume.
The function-scoped browser fixture owns this collector along with its contexts.
A worker runs one test at a time, so one process-local collector covers pages made
by `WatchedBrowser`, render helpers, and tests that navigate a page
themselves. The fixture hands over its `test` node to select shift coverage
(`watches_shifts`); every problem a watch reports reaches this collector. A test
that failed or left problems leaves a picture of each page (`_picture_pages`).
"""
global _BROWSER_PROBLEM_LISTS, _TEST
assert _BROWSER_PROBLEM_LISTS is None, "browser problem collector already active"
captured = []
_BROWSER_PROBLEM_LISTS = captured
_TEST = test
try:
yield
finally:
_BROWSER_PROBLEM_LISTS = None
_TEST = None
problems = [
f"{getattr(page, 'url', '<browser page>')}: {problem}"
for page, problem_list in captured
for problem in problem_list
]
if test is not None and (problems or getattr(test, "lf_failed", False)):
_picture_pages(test, [page for page, _ in captured])
> assert not problems, "\n".join(problems)
E AssertionError: http://127.0.0.1:51022/versions/v1.html: unchanged write: disabled on button.ws-add
E assert not ['http://127.0.0.1:51022/versions/v1.html: unchanged write: disabled on button.ws-add']
tests/render_harness.py:1305: AssertionError
Full diagnostics are in the run’s pytest-results-* JUnit artifacts.
Cause of a failure tracked in #4225.
Activity
leaf-agent commentedon Nov 3, 2026
Fix is up in #5261. The shadow-scale playground set
button.disabledon every repaint. That setter rewrites the attribute even when the value hasn't changed, so the write watch flagged each repaint at the layer limit. The paint now usestoggleAttribute("disabled", …), which writes only a change. The button is disabled in the same states as before.The failing journey reproduced on current main with the same
unchanged write: disabled on button.ws-addmessage and passes with the change. The review and landing workflows queued behind the push own the rest: review, CI on the head, and the merge.