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_an_aimed_press_does_only_what_the_outline_promised[ship-review]: a data-lf-beside-marker attribute appears on the ⌥-click since #7304 #7405
tests/journeys/test_render_aim.py::test_an_aimed_press_does_only_what_the_outline_promised[ship-review] passes at 6ce370c71 and fails at 531c31b10 (#7304, "make a reaction a message of one emoji"). I bracketed it by running the test by node id on Linux at both commits. It still fails on main at 3fa2e5a17, and it failed on macOS in scheduled run 45985529285 on 21c613f05. Journeys run only in the scheduled suite, so the introducing pull request's CI didn't run it. Apply Reading a red suite in running-tend to the introducing change's intent before choosing whether the test or the code moves.
Deciding error:⌥-clicking lf-group "Patch decision: ship wit" in ship-review changed the page, so a press the aim had taken reached a widget as well. The only difference between the page's <main> before and after the ⌥-click is a new attribute on one task row:
So no widget took the press. A runtime attribute, data-lf-beside-marker, now appears on a marked row while the composer is open, and the test's markup comparison counts it as a change to the page. The next step is to find which change in #7304 sets data-lf-beside-marker here. Then decide whether the test should leave Leaf's own presentation attributes out of its comparison, or whether the attribute shouldn't be written on a press the aim took.
#7413 fixes this on the test side. Nothing in #7304's behavior has to move.
data-lf-beside-marker is runtime paint. readMarkRoom writes it on a list item while the composer's pending mark stands there, and it stays after the mark goes, where element-marks.css ignores it. Before #7304 the seeded 👍 on off-t-workaround drew a mark at rest, so the stamp was already in the "before" markup. Now the reaction draws no mark at rest, so the stamp first appears on the ⌥-click. The sweep's PAGE_MARKUP kept its own list of paint attributes, and that list didn't include this one.
The PR makes PAGE_MARKUP strip every RUNTIME_PAINT_ATTRIBUTE, imported from browser/runtime/base/page-paint.js, so the test stops keeping its own copy of the list. The ship-review case fails on main and passes on the branch. The journey's other two cases and the browser test that also uses PAGE_MARKUP pass with the change. Its CI and landing are with tend-land.
Activity
leaf-agent commentedon Nov 27, 2026
#7413 fixes this on the test side. Nothing in #7304's behavior has to move.
data-lf-beside-markeris runtime paint.readMarkRoomwrites it on a list item while the composer's pending mark stands there, and it stays after the mark goes, whereelement-marks.cssignores it. Before #7304 the seeded 👍 onoff-t-workarounddrew a mark at rest, so the stamp was already in the "before" markup. Now the reaction draws no mark at rest, so the stamp first appears on the ⌥-click. The sweep'sPAGE_MARKUPkept its own list of paint attributes, and that list didn't include this one.The PR makes
PAGE_MARKUPstrip everyRUNTIME_PAINT_ATTRIBUTE, imported frombrowser/runtime/base/page-paint.js, so the test stops keeping its own copy of the list. Theship-reviewcase fails onmainand passes on the branch. The journey's other two cases and the browser test that also usesPAGE_MARKUPpass with the change. Its CI and landing are with tend-land.