Skip to content

Diff upgrade changes the box of the content that follows it #4349

Closed

Description

@leaf-agent

Push CI run 40448023036, on 7f13b512c41e, records the following failure.

The initial-versus-presented comparison keeps the mount-diff box unchanged but changes the following box: phone column [272,59,155] becomes [272,49,155]; closing-panel [720,55,244] becomes [720,49,244].

Affected cases:

  • tests/browser/test_widget_quality.py::test_a_widget_first_paints_the_box_it_presents[diff-in-a-phone-column]
  • tests/browser/test_widget_quality.py::test_a_widget_first_paints_the_box_it_presents[diff-closing-a-panel]

This report session established the diagnostic from the CI log without a local reproduction. Reproduce on current main, read the earlier CI results and introducing change, and preserve its intent and the user behavior when choosing the repair. A passing rerun alone does not clear an intermittent failure.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4365 fixes both reproduced cases. The shared source style removed <pre>'s formatting context but left its floated scrollbar spacer, which escaped the shortened one-file diff and pushed the next draft's first line down. Keeping the source in a flow root contains that spacer and preserves #4323's removal of the one-file filter bar.

    Both reported tests fail before the fix and pass afterward. The other first-box cases, focused source/scroller checks, and pnpm run check pass; PR CI is green at 4058edec4. Startup captures confirm the correction, and the compared settled diff and draft states are unchanged.

    The separate tend-review run is queued for #4365 and owns the remaining review and landing. This issue remains open until the fix merges.

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