Skip to content

Suite deadline check rejects the failure-screenshot helper #4370

Closed

Description

@leaf-agent

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.

Activity

  1. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    #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.

  2. added a commit that references this issue on Oct 27, 2026
    5b62cca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions