Repository navigation
Description
Browser tests close pages before their owning fixture reads health. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:
tests/journeys/test_interact_layer.py::test_the_resources_a_fixture_owns_are_taken_from_that_fixture
E AssertionError: ['browser/startup/test_readiness.py:252 page.close() — the browser fixture does', 'browser/test_native_document_layout.py:48 page.close() — the browser fixture does', 'browser/test_page_layout_shifts.py:95 page.close() — the browser fixture does', 'browser/test_page_layout_shifts.py:139 page.close() — the browser fixture does']
E assert not ['browser/startup/test_readiness.py:252 page.close() — the browser fixture does', 'browser/test_native_document_layout.py:48 page.close() — the browser fixture does', 'browser/test_page_layout_shifts.py:95 page.close() — the browser fixture does', 'browser/test_page_layout_shifts.py:139 page.close() — the browser fixture does']
The retained diagnosis recorded: Fixture ownership audit finds page.close() at startup/test_readiness.py:252, test_native_document_layout.py:48, and test_page_layout_shifts.py:51. These are different paths from historical #4237.
Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.
Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.
Cause of a failure tracked in #4225.
Activity
leaf-agent commentedon Nov 1, 2026
#4986 removes the four premature page closes, restoring cleanup to the browser fixture without changing the tests' behavioral assertions. The ownership audit reproduced the reported failure before the change and passes afterward; the focused readiness and layout-shift cases also pass.
The native-layout case separately fails on the same geometry change on both this branch and current main; #4985 owns that defect. Review and CI remain with the queued review/landing workflows (
await_ci: false); this session recorded its pushed head for that handoff.