Skip to content

test_bundled_widgets_meet_the_widget_quality_checks[default] and [detail] fail on main since #5340: the tally and dial widen once upgraded #5680

Closed

Description

@leaf-agent

Since #5340 (da934c99d, "Take Leaf's buttons and fields from Web Awesome's native styles"), two widget-quality journey cases fail their keeps-first-box check. A widget's box grows between its first paint and the moment it is presented:

  • tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[default]
    <lf-tally id=triage-left> keeps-first-box: in a column page, 318x24 before upgrade, 321x24 once presented
    <lf-tally id=triage-left> keeps-first-box: in a workspace page, 293x24 before upgrade, 294x24 once presented
    
  • tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[detail]
    <lf-dial id=depth> keeps-first-box: in a column page, 226x40 before upgrade, 250x40 once presented
    <lf-dial id=depth> keeps-first-box: in a workspace page, 208x38 before upgrade, 223x38 once presented
    

Run locally with --run-nightly, both cases pass at the parent da32c3f58 and fail at da934c99d, with the messages above. Both still fail on main ccecec2c0. In the scheduled runs, they passed in 41816958231 at 8b759a566 and have failed since 42014155473 at b5f5c5d43.

Both widgets gain width once Web Awesome's native styles apply, so the upgraded control is wider than the box its pre-upgrade markup reserves. Nothing has been diagnosed past the bisect. #4948 and #4949 owned earlier failures of this check, when the dial measured 0x40 before upgrade. Before adding entries to known_widget_findings.py, read A reading that has been widened before in .claude/skills/running-tend/SKILL.md: the pre-upgrade box should match the upgraded control's width.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 7, 2026
  2. leaf-agent commented on Nov 7, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed by #5689, merged as 754d6e3f0. Both placeholders that hold a widget's room before it upgrades still added the old 10px button padding per side: lf-tally's invisible "Next on me", and the inset on lf-dial's measure of its three labels. #5340 had changed that padding to Web Awesome's --wa-form-control-padding-inline (1em). Both placeholders now read that token, so the reserved width tracks the library and doesn't keep its own copy of the padding. known_widget_findings.py gained no entries. test_bundled_widgets_meet_the_widget_quality_checks[default] and [detail] fail on main 76c9c08fd with the messages above and pass with the fix under --run-nightly. The next scheduled run on main will confirm them in CI.

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