Skip to content

Diff note loses two pixels of width during first presentation #4950

Closed

Description

@leaf-agent

Diff note loses two pixels of width during first presentation. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:

tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[diff]
E       AssertionError: findings known_widget_findings.py does not list:
E         <lf-diff-note> keeps-first-box: in a column page, 908x48 before upgrade, 906x48 once presented
E         <lf-diff-note> keeps-first-box: in a workspace page, 1215x43 before upgrade, 1213x43 once presented
E       assert not ['<lf-diff-note> keeps-first-box: in a column page, 908x48 before upgrade, 906x48 once presented', '<lf-diff-note> keeps-first-box: in a workspace page, 1215x43 before upgrade, 1213x43 once presented']

The retained diagnosis recorded: Diff note loses 2px width in each layout (908→906 and 1215→1213).

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

    The two-pixel shrink reproduces on current main: notes initially fill the diff host, then enter the file's one-pixel inline borders. #5019 reserves that inset before upgrade and preserves the final layout from #4759.

    The package quality check and desktop/touch first-paint checks pass; the added width assertion fails with the original CSS. The PR includes first-paint screenshots, unchanged light/dark/touch presented-state comparisons, and startup measurements. Review and CI remain with the queued review and landing workflows under await_ci: false; the push was recorded for 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