Repository navigation
Description
Five browser tests have failed on main since #6773 (d9f336b3c, which runs a thread card's reply box to the card's edges and cuts card and thread padding to 6px and 8px). Each one passes at its parent 65cd90cc0 and fails at d9f336b3c and at current main 1a851b3a5, deterministically, run locally by node id. They first failed on main in run 45077573453 on e4cf2802. Every run between that commit and the last green push run (75c3a82cbb) was cancelled.
| Test | Deciding assertion |
|---|---|
tests/browser/navigation/test_threads.py::test_inline_thread_surface_has_room_without_focus_reflow |
an inline thread's child sits 1px from the thread's edge, against a floor of 3 (clearances [7, 7, 7, 57, 7, 7, 71, 57, 1, 1, 95, 1]) |
tests/browser/test_render_drawing_context.py::test_drawing_preview_contains_page_content_and_freezes_it[dark-True] |
on touch at 390px, Undo last stroke no longer takes a press at ±21px from its centre (elementFromPoint hits something else) |
tests/browser/test_render_floating_panel.py::test_a_line_the_field_gives_up_rides_the_box_s_top_edge |
the tween's first frame differs from the resting panel by 352 px, against a tolerance of 300 |
tests/browser/test_render_reactions.py::test_the_response_field_grows_across_its_bar |
a sent message's body ends at x=553 while the card's reply field ends at 559, and the test expects them flush |
tests/browser/widgets/test_diffs.py::test_a_diff_conversation_s_reply_rests_as_the_margin_card_s_field |
a seated diff conversation's reply box reads framed: False, so its top border is transparent |
Diagnosis so far. The cause is established only down to the commit. #6773 intended the reply box to meet the card's sides and foot, and the thread's words to stand one 8px inset in. That would explain why the message body and the reply field no longer share a right edge, and why a thread child now sits about 1px from the thread's edge. Whether each assertion is now outdated or protects a guarantee #6773 broke has not been judged. Two cases look most likely to be real regressions rather than outdated expectations: the touch reach of the drawing controls (the finger's 44px floor), and the seated diff reply losing its frame, since #6773's description says nothing about unframing it. The pixel tolerance in the floating-panel tween test is a widening candidate, so read its history (git log -L) before raising it (running-tend, Reading a red suite).
Reproduction
git checkout --detach 65cd90cc0 # 6 passed
git checkout --detach d9f336b3c # 5 failed, 1 passed (the light, non-touch drawing case passes)
uv run pytest -p no:randomly -n 0 -q \
tests/browser/navigation/test_threads.py::test_inline_thread_surface_has_room_without_focus_reflow \
tests/browser/test_render_drawing_context.py::test_drawing_preview_contains_page_content_and_freezes_it \
tests/browser/test_render_floating_panel.py::test_a_line_the_field_gives_up_rides_the_box_s_top_edge \
tests/browser/test_render_reactions.py::test_the_response_field_grows_across_its_bar \
tests/browser/widgets/test_diffs.py::test_a_diff_conversation_s_reply_rests_as_the_margin_card_s_fieldCheck out each commit in the main checkout. A git worktree with a copied .venv imports the main checkout's sources through the editable install, so it would test the wrong code.
Cause of a failure tracked in #6789.
Activity
leaf-agent commentedon Nov 23, 2026
#6794 fixes this. One of the five failures was a real regression from #6773, and the other four were expectations #6773 deliberately replaced.
box-motion.jsdrew a moving field's ring and clip with the top-left radius at every corner, so the square corners Run a thread card's reply box to the card's edges, and stand every thread's words one inset in #6773 gave the field turned round while it shrank. With each corner's radius carried through the motion, the first frame differs from rest by 234 px (235 before Run a thread card's reply box to the card's edges, and stand every thread's words one inset in #6773), and the 300 tolerance stays.response.cssrule draws a rule over a card's reply words instead of a frame, in the margin and in a widget alike. The touch-reach failure was a probe point at x = −2, off-screen. The comment box now sits 6px nearer the window's edge at 390px, and every on-screen point still hit the button. The inline-thread clearance and message/reply edge tests now expect the reply box at the card's edges.All five pass by node id on the PR branch. Its CI and landing are with tend-land.