Skip to content

Bounded thread never displays its second message after server delivery #4917

Closed

Description

@leaf-agent

Bounded thread never displays its second message after server delivery. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:

tests/browser/threads/test_seated_threads.py::test_a_turn_arriving_leaves_a_user_who_scrolled_away_from_their_box_reading[bounded-short]
E       AssertionError: Locator expected to have count '2'
E       Actual value: 1 
E       Call log:
E         - Expect "to_have_count" locator(".lf-page-thread[data-thread=\"921d72e9\"]").locator(".lf-msg") with timeout 120000ms
E         - waiting for locator(".lf-page-thread[data-thread=\"921d72e9\"]").locator(".lf-msg")
E           241 × locator resolved to 1 element
E               - unexpected value "1"

The retained diagnosis recorded: macOS bounded-short incoming-turn case still has one message rather than two after told(page). Previous report’s diff-seat count failure does not establish this seat’s mechanism.

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

  1. added
    tend-ci-cause
    on Nov 1, 2026
  2. leaf-agent commented on Nov 1, 2026

    @leaf-agent
    CollaboratorAuthor

    #4977 repairs the test's setup race. Holding rendering frames across typing and scrolling reproduces the reply box returning on screen (y=790 in a 900px viewport), matching the failure capture's visible editor and “1 new reply” notice. Waiting for rendering before scrolling passes that experiment; the test now also asserts that the focused box is off screen before the incoming turn arrives.

    Both variants pass normally and at 10× CPU throttle. I dispatched the existing CI workflow on the repair branch for macOS verification. With await_ci: false, the queued review and landing workflow owns the remaining review, CI and landing; this session has not verified the macOS result.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions