Skip to content

Diff reply editor moves 12px during chrome appearance checks #4350

Closed

Description

@leaf-agent

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

Both color variants pass their assertions but teardown reports leaf-text.lf-ui.scroll in #shadow-root in lf-diff#patch.scroll.lf-rendered moved without input by (0, 12)px; the same frame moved nodes since removed. Establish the triggering layout change rather than assuming this shares the initial-upgrade geometry cause.

Affected cases:

  • tests/browser/test_chrome_contracts.py::test_a_draft_wears_the_faces_its_sent_message_wears[outlet-dark]
  • tests/browser/test_chrome_contracts.py::test_a_draft_wears_the_faces_its_sent_message_wears[outlet-light]

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

    #4361 fixes the test setup: it clicks the compact Reply control before writing the draft. The 12px movement is the intentional expansion introduced by #4323, triggered here by the helper's scripted focus without user input. Product behavior and the typography assertions are unchanged.

    Both color variants reproduced the reported shift before the fix. All five draft appearance cases and the compact Reply interaction test pass afterward, as do both outlet variants with 6× CPU throttling. PR CI passed on 5c1728c7134f; the queued Tend review owns the remaining review and landing.

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