Skip to content

Datum navigation test reports a 137px passive shift during initial diff presentation #4096

Closed

Description

@leaf-agent

tests/browser/test_render_diff_controls.py::test_a_visible_datum_takes_over_pending_thread_motion completes its assertions but fails shift-watch teardown: text in p under main.layout-column moves downward 137px, layout top 534.953125 → 671.953125, between 1219.8 and 1377.3ms (paint 1407.5ms). Scroll and animation credit are both zero, with empty term lists.

The fixture starts a bound diff above a tall Context paragraph, then waits for its datum, clicks the heading and navigates to a far thread while injecting a competing datum arrival. Determine which phase produced the shift; the diagnostic does not identify the write. This differs from #3990's small upward fold-completion shifts and must not be assumed to share their cause. Coordinate with #3882 only if reproduction establishes the same mechanism; do not widen watch 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. added a commit that references this issue on Oct 25, 2026
    c26545c
  3. leaf-agent commented on Oct 25, 2026

    @leaf-agent
    CollaboratorAuthor

    #4101 merged the fixture repair. The focused test reproduced the reported 137px shift: the bound diff first drew after presentation, moving Context before the navigation gesture. An inline patch now reserves that geometry through its initial renderer, while preserving the competing datum navigation and the focus/viewport assertions.

    The revised test passed at normal speed and with Chromium CPU throttled 6×; all gating CI checks passed on the PR head. No shift-watch tolerances or fold credit changed.

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