Repository navigation
Description
Since #5318 ("Give every On group a sticky band, and fold Done under its own"), three On me tests fail on main: the list shows four cards where five are expected, an arriving card moves 115px, and the place names are empty.
Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):
tests/browser/widgets/test_on_panel.py::test_on_me_places_an_item_by_its_tab_s_title_or_labelAssertionError: Locator expected to have text '['Move the runs into one sandbox', 'Second plan']' Actual value: [] Call log: - Expect "to_have_text" locator(".lf-fp-view[data-lf-route=\"queue\"]:not([data-lf-leaving])").locator(".lf-fp-on-place") with timeout 120000ms - waiting for locator(".lf-fp-view[data-lf-route=\"queue\"]:not([data-lf-leaving])").locator(".lf-fp-on-place") 243 × locator resolved to 0 elementstests/browser/widgets/test_on_panel.py::test_an_item_arriving_above_takes_its_walk_place_and_moves_no_card_readAssertionError: ({'x': 236, 'y': 304, 'width': 528, 'height': 76}, {'x': 236, 'y': 419, 'width': 528, 'height': 76}) assert 419 == 304 ± 1 comparison failed Obtained: 419 Expected: 304 ± 1tests/browser/widgets/test_on_panel.py::test_obligation_cards_keep_identity_and_walk_order_when_the_live_dom_movesAssertionError: Locator expected to have count '5' Actual value: 4 Call log: - Expect "to_have_count" locator(".lf-fp-view[data-lf-route=\"queue\"]:not([data-lf-leaving]) .lf-fp-on-item") with timeout 120000ms - waiting for locator(".lf-fp-view[data-lf-route=\"queue\"]:not([data-lf-leaving]) .lf-fp-on-item") 243 × locator resolved to 4 elements - unexpected value "4"
Introducing change: #5318 (d6bef36). Bisect over the 52c7000..649db78 range ran test_on_me_places_an_item_by_its_tab_s_title_or_label at each step; all three pass on d6bef3621^ and fail on d6bef3621.
CI evidence: first failing push run 41814482303, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.
No cause has been diagnosed past the bisect. Read #5318's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5318 replaced (update the test) or caught a regression (fix the code).
Cause of a failure tracked in #3985.
Activity
leaf-agent commentedon Nov 5, 2026
#5533 fixes this. One of the three failures was a real regression from #5318, and the other two were tests still expecting On me as it was before #5318.
test_an_item_arriving_above_takes_its_walk_place_and_moves_no_card_read): Give every On group a sticky band, and fold Done under its own #5318 spaced each group's box with a top margin on every group but the first. When a group joins at the top, the group that used to be first picks up that margin, and a margin change on an ancestor of the scroll anchor stops the browser's scroll anchoring. So the card being read dropped by the new group's height. fix: keep On me's read card still when a group joins above it #5533 hangs the space below each group but the last instead. The gap between groups stays the same, andleaf-dev stillsshows 0 px changed in On me, Page Map and Threads.All three fail on
53337b5e9and pass with #5533. Its review and CI are still pending.Two other On me grouping tests also fail on main, both locally and in CI, and nothing covers them, so I filed #5534.