You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suite deadline check rejects the failure-screenshot helper #4370
The suite's deadline check rejects the failure-screenshot helper on unmodified main at f99f986d492fc2b1a840c83d4d24eaea09691016.
uv run pytest tests/journeys/test_interact_layer.py::test_a_wait_takes_the_suites_deadline -q -n0
It reports tests/render_harness.py:1313 page.screenshot(..., timeout=5000) as a wait that sets its own deadline. The helper and the deadline rule need to agree on how failure diagnostics are bounded; the assertion alone does not decide which should change.
The same diagnostic appears in dispatch 40445030137, discovered while verifying #4330. The main reproduction contains none of that PR's changes.
#4373 fixes the failure by giving the screenshot helper the existing shared browser deadline. It preserves the diagnostic capture introduced in #4295 and its handling of closed or unresponsive pages, without adding an exception to the deadline check.
The reported test failed before the change and passes after it; a Chromium probe also verified screenshot capture and closed-page handling. CI passed on the pushed commit, and review found no issues. Tend's landing session now owns the merge decision.
Activity
leaf-agent commentedon Oct 27, 2026
#4373 fixes the failure by giving the screenshot helper the existing shared browser deadline. It preserves the diagnostic capture introduced in #4295 and its handling of closed or unresponsive pages, without adding an exception to the deadline check.
The reported test failed before the change and passes after it; a Chromium probe also verified screenshot capture and closed-page handling. CI passed on the pushed commit, and review found no issues. Tend's landing session now owns the merge decision.
fix: use the suite deadline for failure screenshots (#4373)