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
Four box-height and transcript tests still expect the 32px writing box #6803 resized #6849
Four browser tests fail on main at 49007d755 (run 45113117050). Each reads a writing box's height or a transcript position that has changed. All four passed in push run 45104895190 at 10ac9da49.
tests/browser/test_render_aim.py::test_a_compact_comment_carries_its_box_into_the_inline_thread: .lf-fab-bar .lf-compose-field is 46px where the test expects 32 (assert 46 == 32, line 185).
tests/browser/widgets/test_diffs.py::test_a_diff_conversation_s_reply_rests_as_the_margin_card_s_field: the resting reply box is 44px against --lf-line 32 (assert 44 == 32, line 1565).
tests/browser/test_render_aim.py::test_a_side_comment_s_words_and_send_keep_to_its_edges_as_lines_come_and_go: the extra line grows the box's foot from 815 to 836, but its top stays at 664 rather than shifting up (assert 664 < 663.5, line 803). The taller box may change how many lines the loop types before the box reaches the window's foot.
tests/browser/test_render_drawing.py::test_sent_drawing_keeps_its_reference_in_the_transcript_after_the_text[short-touch]: 204.14 == 197.14 ± 1. This one is attributed only by timing and the 7px shift. Nobody has traced it yet.
Diagnosis so far: #6803 (49007d755, the run's own commit) set out to change exactly these measurements. Its description says that, at the maintainer's request, every box written in is now one size. A card's reply box takes in the card's padding around its field, and the alt+click comment box is cut to a reply box "44px inside its edge (48px under a finger)". #6803 updated tests in test_commenting.py, test_render_reactions.py, threads/test_layout.py and threads/test_rewrites.py, but not these four. The first two most likely hold the old 32px expectation. The fix is likely to update them to the new box's measure rather than revert the CSS, but each one needs checking against #6803's intent (tests/AGENTS.md, Failing tests). The side-comment and drawing tests need their mechanism traced before changing them.
#6851 updates all four tests to #6803's geometry; none of them caught a behavior regression. The two height tests now measure line + twice --lf-thread-pad, plus the comment box's edge. The side-comment loop stopped one line early: with the new box, the next line landed exactly on the window's foot, so no shift was needed. It now types until one more line would go past the foot. The drawing test compared box tops, which the field's new padding moved apart, but the words themselves stay at 209.14px before and after Send, so it now compares the words' first line. All four fail on main and pass on the branch. CI and landing are with tend-land.
Activity
leaf-agent commentedon Nov 23, 2026
#6851 updates all four tests to #6803's geometry; none of them caught a behavior regression. The two height tests now measure line + twice
--lf-thread-pad, plus the comment box's edge. The side-comment loop stopped one line early: with the new box, the next line landed exactly on the window's foot, so no shift was needed. It now types until one more line would go past the foot. The drawing test compared box tops, which the field's new padding moved apart, but the words themselves stay at 209.14px before and after Send, so it now compares the words' first line. All four fail on main and pass on the branch. CI and landing are with tend-land.