Skip to content

Externally resolved diff thread test reports a 355px passive shift #4097

Closed

Description

@leaf-agent

tests/browser/threads/test_seated_threads.py::test_a_resolution_from_elsewhere_moves_nothing_after_a_diff_thread completes its assertions but fails shift-watch teardown: text in p#after moves downward 355px, layout top 132.953125 → 487.953125, between 1362.2 and 1616ms (paint 1729.4ms). Scroll and animation credit are zero and both term lists are empty.

The fixture starts a bound diff with a carried line thread above #after, resizes the viewport, then resolves the thread from the agent and verifies the paragraph remains still before acknowledging Resolved. The measured downward shift could precede that assertion; locate the responsible write rather than assuming the resolution failed. This differs from #3990's small upward fold shifts and from the 137px datum-navigation shift in this run; consolidate only if reproduction establishes a common mechanism. Do not relax shift tolerances.

Observed in CI run 40217569506 on commit 2148fd1d1ff763cf2cd78e1b61253828193624b6. This report session read the deciding CI diagnostic; it did not reproduce locally. Start with the focused test on current main and inspect earlier CI results before choosing a repair.

The same focused case(s) passed in the preceding push run 40214840234, on 3fa4fd3a21701031b91a85841bec5bdba0314eb1. Run 40217569506 is the first failure established here; a prior pass does not clear an intermittent defect.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4103 fixes the startup presentation barrier behind this shift. After an update skipped drawing while bound data was unread, the first real draw could run without a presentation ticket; the asynchronous diff and its seated thread then grew after the page had reported presentation complete. The external-resolution assertion itself was passing.

    The original test reproduced the same 355px shift on main and passes with the fix, including at 6× CPU throttling. A new runtime regression fails before the fix and passes afterward. All 562 runtime tests, the local checks, and PR CI passed at da950ea31749be92be42ab0f74f3892f94ece88d; the independent review found no actionable findings. Shift tolerances are unchanged. The dedicated tend-land run owns the merge.

  3. added a commit that references this issue on Oct 25, 2026
    070e6dd
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