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_native_reply_edits_after_semantic_paint_keep_the_first_line: unchanged write of the reply editor's content since #7117 #7174
Both desktop cases of tests/journeys/test_thread_response_continuity.py::test_native_reply_edits_after_semantic_paint_keep_the_first_line ([seat-delete-desktop], [margin-delete-desktop]) error at teardown on Linux and macOS in the scheduled run 45598918111 (118f31f6d), and still do at 90bc5d55c:
unchanged write: children of div.cm-content.cm-lineWrapping in #shadow-root in leaf-text.lf-ui
The teardown's write watch saw the reply editor's content element rewritten with the children it already had.
Introduced by #7117 (0669d8adc), "Check each edit a draft's edge keys make against how the draft read before". Bisecting e7d5808f3..118f31f6d puts the first failure there; the test passes at its parent 5ccbb4041. The next step is to find the write #7117 added that replaces cm-content's children when an edit leaves them as they were, and skip it when nothing changed.
#7185 has the fix. I reproduced both *-delete-desktop errors on main at 32dc564a8. #7117 made Backspace and Delete on a message's blank line propose an edit that runs from the end of the paragraph above, so the draft check sees the blocks it joins. The editor dispatched that wide edit as it was, so CodeMirror rewrote every blank line in between with the same children.
The editor still checks the wide edit, but now dispatches only the part that changes. With that change all 8 cases of the journey test pass, and a new runtime test that fails on main passes. The PR's review and CI are still pending, and tend-land handles its landing.
Activity
leaf-agent commentedon Nov 25, 2026
#7185 has the fix. I reproduced both
*-delete-desktoperrors onmainat32dc564a8. #7117 made Backspace and Delete on a message's blank line propose an edit that runs from the end of the paragraph above, so the draft check sees the blocks it joins. The editor dispatched that wide edit as it was, so CodeMirror rewrote every blank line in between with the same children.The editor still checks the wide edit, but now dispatches only the part that changes. With that change all 8 cases of the journey test pass, and a new runtime test that fails on
mainpasses. The PR's review and CI are still pending, and tend-land handles its landing.