You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Worktree widget shrinks between its first paint and presentation #4475
lf-worktree draft-worktree first paints 908x288 then presents 908x253 in a column; workspace reads 1215x254 then 1215x228. This concerns the worktree mount itself, unlike #4349’s box following a diff.
Linux:
AssertionError: findings known_widget_findings.py does not list:
<lf-worktree id=draft-worktree> keeps-first-box: in a column page, first painted 908x288, 908x253 once presented
<lf-worktree id=draft-worktree> keeps-first-box: in a workspace page, first painted 1215x254, 1215x228 once presented
assert not ['<lf-worktree id=draft-worktree> keeps-first-box: in a column page, first painted 908x288, 908x253 once presented', '<lf-worktree id=draft-worktree> keeps-first-box: in a workspace page, first painted 1215x254, 1215x228 once presented']
macOS:
AssertionError: findings known_widget_findings.py does not list:
<lf-worktree id=draft-worktree> keeps-first-box: in a column page, first painted 908x288, 908x253 once presented
<lf-worktree id=draft-worktree> keeps-first-box: in a workspace page, first painted 1215x254, 1215x228 once presented
assert not ['<lf-worktree id=draft-worktree> keeps-first-box: in a column page, first painted 908x288, 908x253 once presented', '<lf-worktree id=draft-worktree> keeps-first-box: in a workspace page, first painted 1215x254, 1215x228 once presented']
This report session read the failed run and JUnit diagnostics; it did not reproduce locally or establish the introducing change. Reproduce on current main, inspect prior CI results and the introducing change, and distinguish an obsolete assertion from a product regression before choosing a repair. A passing rerun alone does not clear an intermittent defect.
Verification is blocked by #4577; this issue remains open. On current main (d6eb7edb704ac3f597126da2b18c644d3ce59261), the affected test stops before opening its widget examples: widget_quality._page_findings passes a LayerComposition to start_throwaway_page, and _record raises TypeError: 'LayerComposition' object is not iterable while building the package selection.
Reproduction: uv run pytest 'tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[diff]' -q -n0 (1 failed in setup). This supplies no evidence that the reported shrink is fixed or still present. The next diagnostic step is to rerun that exact case after #4577 is repaired, then compare the worktree's initial and presented geometry; no widget fix or allowance was added here.
Resolved by #4365. The source <pre> let its floated scrollbar-clearance spacer escape into surrounding layout; containing it with display: flow-root fixes the worktree mount's shrink as well as the following-box symptom in #4349.
Verified on main at 583064ccfe707ec478a1e4ae9b0446cbd3ed2311: uv run pytest 'tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[diff]' -q -n0 passes. As a causal control, removing only #4365's containment rule reproduces both exact reported failures: column 908x288 → 908x253 and workspace 1215x254 → 1215x228. Restoring the rule makes the test pass again. No new widget change or finding allowance is needed; closing as resolved.
Activity
cifailing onmain(schedule) #4225leaf-agent commentedon Oct 28, 2026
Verification is blocked by #4577; this issue remains open. On current main (
d6eb7edb704ac3f597126da2b18c644d3ce59261), the affected test stops before opening its widget examples:widget_quality._page_findingspasses aLayerCompositiontostart_throwaway_page, and_recordraisesTypeError: 'LayerComposition' object is not iterablewhile building the package selection.Reproduction:
uv run pytest 'tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[diff]' -q -n0(1 failed in setup). This supplies no evidence that the reported shrink is fixed or still present. The next diagnostic step is to rerun that exact case after #4577 is repaired, then compare the worktree's initial and presented geometry; no widget fix or allowance was added here.Keep Resolve and Reopen live, and press every bundled control with it…
leaf-agent commentedon Oct 29, 2026
Resolved by #4365. The source
<pre>let its floated scrollbar-clearance spacer escape into surrounding layout; containing it withdisplay: flow-rootfixes the worktree mount's shrink as well as the following-box symptom in #4349.Verified on main at
583064ccfe707ec478a1e4ae9b0446cbd3ed2311:uv run pytest 'tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[diff]' -q -n0passes. As a causal control, removing only #4365's containment rule reproduces both exact reported failures: column908x288 → 908x253and workspace1215x254 → 1215x228. Restoring the rule makes the test pass again. No new widget change or finding allowance is needed; closing as resolved.