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
Accepted margin reply leaves its native editor visible #5147
The accepted margin reply reaches its final session assertion but its leaf-text remains visible with destination words. Establish the intended post-admission session lifecycle; this differs from the earlier metadata-size failure in #4341.
> expect(field).to_be_hidden()
E AssertionError: Locator expected to be hidden
E Actual value: visible
E Call log:
E - Expect "to_be_hidden" locator(".lf-margin-preview .lf-page-thread[data-thread=\"e7f7ed84\"]").locator("leaf-text") with timeout 120000ms
E - waiting for locator(".lf-margin-preview .lf-page-thread[data-thread=\"e7f7ed84\"]").locator("leaf-text")
E 243 × locator resolved to <leaf-text name="reply" tabindex="0" role="textbox" data-lf-gen="1" data-lf-offer="" data-lf-focus="" aria-label="Reply" class="lf-ui scroll" aria-multiline="true" data-lf-focus-within="" data-says="destination" data-lf-focus-visible="" data-lf-focus-visible-within="" placeholder="Reply ⏎ · New line Shift+⏎" aria-keyshortcuts="Enter Meta+Enter Control+Enter">…</leaf-text>
E - unexpected value "visible"
This report triage has not run a local reproduction or established the cause. Reconcile current main, existing repairs and active workers, reproduce the focused boundary, then repair the owner of the rule. Split independent mechanisms if the grouped observations require different fixes. The complete failed log and pytest-results artifact on each run retain the traceback and screenshots.
The failure started with #5039, found by bisecting the ten commits between the last passing ci run on main (5d7e533) and the first failing one (5daa302). #5039 leaves the caret in the reply box after Send. The accepted send ends the reply's editing session. When the agent then resolved the thread, the focus carry in holdThreadPlace put the user back in the resolved thread's reply box, and that focus started a new editing session. That session kept the resolved card and its editor in the margin.
Activity
leaf-agent commentedon Nov 4, 2026
Fix is up in #5364, waiting on CI and review.
The failure started with #5039, found by bisecting the ten commits between the last passing
cirun onmain(5d7e533) and the first failing one (5daa302). #5039 leaves the caret in the reply box after Send. The accepted send ends the reply's editing session. When the agent then resolved the thread, the focus carry inholdThreadPlaceput the user back in the resolved thread's reply box, and that focus started a new editing session. That session kept the resolved card and its editor in the margin.#5364 makes two changes:
The
margin-acceptedcase fails onmainand passes with the fix. A new test covers the typed-reply case, which fails with the carry change alone.