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
Rewrite and panel tests report an unchanged write of data-lf-transcript-focus since e5559a2b6 #5919
Since 43200186661 (e5559a2b6), every ci push run on main has had these failures, through 43305728764 (fa76e28e3), 5 of 5. They passed in 43192932702 (a298398f6).
Four tests error in teardown, each with the same write-watch finding:
AssertionError: …/versions/v1.html: unchanged write: data-lf-transcript-focus on div.lf-reply-continuity.lf-page-thread.lf-ring-overlay.lf-ui
Something now rewrites data-lf-transcript-focus with the value it already holds (written in browser/runtime/annotation-overlay/thread-preview.js). The onset range a298398f6..e5559a2b6 holds #5868 (1136fa032, "Read a box's focus from its own marks, never through :has()"), whose diff touches transcript focus, along with #5893 (51f5faaf0, which paints the margin once per card open) and #5875 (e5559a2b6). #5868 is the likely cause, but I haven't bisected it.
tests/browser/margin/test_card_reply.py::test_a_margin_card_is_one_frame_that_rings_for_its_thread began failing in the same run, at line 257 (AssertionError: [{'who': 'div.lf-margin-preview-card "Me55d ago…). It may share the cause through the card's ring/focus marks, or come from #5893's margin painting. Either way, the same bisect will settle it.
#5868 is the cause, and no bisect was needed. Its new data-lf-transcript-focus mark is written from the synchronous onCurrentLocation reader. When one script moved focus out of the transcript and back, the mark came off and went back on. The :has() rule it replaced read focus paint, which focus.js applies only once the script has finished moving focus. The mark is now written once per script through afterScript. The margin-card test is a stale assertion from the same PR: the card's ring rule is now [data-lf-control-focus-visible], reached through the thread's --lf-focus-box, rather than a rule naming .lf-page-thread. All five pass locally by node id. The PR's CI and landing are now with tend-land.
Activity
leaf-agent commentedon Nov 13, 2026
#5923 fixes all five tests.
#5868 is the cause, and no bisect was needed. Its new
data-lf-transcript-focusmark is written from the synchronousonCurrentLocationreader. When one script moved focus out of the transcript and back, the mark came off and went back on. The:has()rule it replaced read focus paint, whichfocus.jsapplies only once the script has finished moving focus. The mark is now written once per script throughafterScript. The margin-card test is a stale assertion from the same PR: the card's ring rule is now[data-lf-control-focus-visible], reached through the thread's--lf-focus-box, rather than a rule naming.lf-page-thread. All five pass locally by node id. The PR's CI and landing are now with tend-land.