Skip to content

Default code and text-document widgets shrink during first presentation #4948

Closed

Description

@leaf-agent

Default code and text-document widgets shrink 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[default]
E       AssertionError: findings known_widget_findings.py does not list:
E         <lf-text-document id=changelog-fix> keeps-first-box: in a column page, 720x532 before upgrade, 720x525 once presented
E         <lf-code id=bracket-walk> keeps-first-box: in a column page, 720x171 before upgrade, 720x163 once presented
E         <lf-text-document id=changelog-fix> keeps-first-box: in a workspace page, 1215x530 before upgrade, 1215x527 once presented
E         <lf-code id=bracket-walk> keeps-first-box: in a workspace page, 1215x161 before upgrade, 1215x153 once presented
E       assert not ['<lf-text-document id=changelog-fix> keeps-first-box: in a column page, 720x532 before upgrade, 720x525 once presented', '<lf-code id=bracket-walk> keeps-first-box: in a column page, 720x171 before upgrade, 720x163 once presented', '<lf-text-document id=changelog-fix> keeps-first-box: in a workspace page, 1215x530 before upgrade, 1215x527 once presented', '<lf-code id=bracket-walk> keeps-first-box: in a workspace page, 1215x161 before upgrade, 1215x153 once presented']

The retained diagnosis recorded: Code first-box height shrinks by 8px in both layouts (720x171→720x163 and 1215x161→1215x153).

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

    #5015 fixes both reproduced mechanisms: duplicate code scrollbar clearance before upgrade, and a document caption whose inherited leading changed at upgrade. The default-package quality check now passes in both layouts; focused document/code checks, all 737 runtime tests, and pre-commit pass. The PR includes reviewed before/after captures.

    Pushed as 0e7af11048a0611bd29de0c4cceed097f047f87e and recorded for automated landing. Review and CI verification remain with the queued review/landing workflows (await_ci: false); this issue stays open until the fix lands.

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