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
test_every_card_keeps_the_placement_rules[workspace-1000]: the full-measure card covers the whole log pane it is about #6047
tests/journeys/margin/test_card_placement.py::test_every_card_keeps_the_placement_rules[workspace-1000] fails on Linux and macOS in scheduled run 43706054091 (f20c08b73):
AssertionError: no spot takes the wheel for wlog-6
First bad commit: #5846 (2d35c9e42, "Open every thread card at the full measure…"). git bisect run over this case between 6cfc59a83 (passes) and 9f3c6590b (fails) names it. The failure reproduces locally on main 9f3c6590b.
What the test sees. At a 1000px window, the card for wlog-6, a row in the log #wlog inside the workspace pane #findings-body, stands under its row. It now spans the full measure of its room, and that covers the whole visible log pane:
box
left
top
right
bottom
row wlog-6
27
291
471
318
its scroller #wlog
27
328
471
488
.lf-margin-preview
21
334
492
741
SWEEP_AIM scans the scroller's box for a point whose topmost element scrolls with it, skipping .lf-margin-preview. Only the pane's top 6px is uncovered, and the scan starts at top + 6, so it finds no point. Before #5846, the card took the width of its words, at least --thread-card-min (320px), and part of the log stayed exposed.
What needs deciding. The test stands for a reader who wheels the log while the card is open. #5846 meant for cards to open at the full measure, or at their room where that is narrower. Here the room is the workspace pane, so the card now covers the log it is about, and a reader can't reach that log with the wheel until they close the card. A repair could keep the card clear of the scroller holding its row, or the sweep could accept a covered scroller as a state the user resolves by closing the card. placement-rules.json and the sweep's rules own that choice. Making only the test aim elsewhere would hide the change in what a reader can do.
This needs a placement decision from @max-sixty, so I've assigned it to him. The failure still reproduces on current main: no commit has landed since 9f3c6590b, the commit the reproduction above ran on. No open PR changes card placement.
I don't see a repair that keeps both #5846's intent and what the test protects:
What the test protects: while the card is open, a reader can still wheel the log that holds the card's row. In this case the room is the workspace pane, and a full-width card under the row covers every visible part of the log except the top 6px.
Either answer is a new rule that doesn't exist yet:
Keep the card clear of the scroller that holds its row. The card could narrow, or take another side, wherever covering that scroller would otherwise be the result. This gives up part of the full measure in panes that are about as narrow as the measure.
Accept a covered scroller. The reader closes the card to reach the log again. The sweep would record this as a rule in placement-rules.json, so it stops reporting this case as a finding.
Once you've picked one, the next run can write the rule and its sweep finding together, and the failing case at workspace-1000 becomes the regression test.
Activity
leaf-agent commentedon Nov 15, 2026
This needs a placement decision from @max-sixty, so I've assigned it to him. The failure still reproduces on current main: no commit has landed since
9f3c6590b, the commit the reproduction above ran on. No open PR changes card placement.I don't see a repair that keeps both #5846's intent and what the test protects:
size-widthinplacement-rules.json): a card is as wide as the measure, or as its room where that is narrower. It doesn't narrow to fit its words.Either answer is a new rule that doesn't exist yet:
placement-rules.json, so it stops reporting this case as a finding.Once you've picked one, the next run can write the rule and its sweep finding together, and the failing case at
workspace-1000becomes the regression test.fix: stop the file tree writing scrolls that move nothing when it rev…