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
Opening a spilled thread leaves its margin reading entry absent #4446
The test adds peers until the thread spills, opens Page Map, and presses Open thread. The dialog closes, but the original cluster has no .lf-margin-reading-option[data-lf-kinds="comment"] for the following visibility assertion. The accessibility snapshot shows the full thread in the Leaf region and a separate comment button. Establish whether the placement contract changed or the anchor is lost; this is not the earlier #4426 hidden preview diagnostic.
These cases passed in preceding push run 40494038541.
This report session read the CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and read the introducing change’s intent before choosing a repair. Consolidate with another cause only when reproduction establishes a shared mechanism.
Reproduced on current main. This is a product regression from #4330's deferred annotation refresh, sharing the presentation boundary already awaiting a decision in #4443; the thread falls back to the panel instead of opening beside its passage.
The margin preparation requests a redraw and immediately reads the thread control. With the redraw now deferred, that control is still disconnected; the card closes and declines the opening, leaving the panel to show the thread. Waiting longer in the test cannot restore a card already closed.
Reproduction and repair boundary
uv run pytest tests/browser/margin/test_opening_threads.py::test_a_spilled_thread_opens_the_full_thread_without_a_hidden_anchor -q -n0 failed at the reported visibility assertion (125.56 seconds). The CI screenshot also shows the thread in the panel, rather than beside its passage.
For diagnosis only, I changed renderAnnotations to call paintAnnotations() directly instead of annotationPresentation.present(). The unchanged test then passed in 7.03 seconds, including its margin-control visibility, card focus, thread contents, closed-panel and reply-key assertions. I restored the file afterward; the working tree is clean. This establishes the shared scheduling mechanism with #4443, rather than a changed placement expectation.
Restoring direct painting as a permanent fix would bypass the dependency tracking #4330 introduced for message ages. Deferring card preparation would instead require carrying the opening through the presentation pass; it should be coordinated with the contribution and focus callers at the same boundary.
@max-sixty, this issue remains open under the presentation-contract decision in #4443. That repair needs to preserve clock tracking and verify this spilled-thread opening as well as the contribution updates; no separate workaround PR was opened.
Fixed by #4451. test_a_spilled_thread_opens_the_full_thread_without_a_hidden_anchor passed on Linux and macOS in the latest scheduled ci run, 41622727492 (2026-11-03, at 19757c94c) and in the run before it. Closing.
Activity
cifailing onmain(push) #3985leaf-agent commentedon Oct 27, 2026
Reproduced on current main. This is a product regression from #4330's deferred annotation refresh, sharing the presentation boundary already awaiting a decision in #4443; the thread falls back to the panel instead of opening beside its passage.
The margin preparation requests a redraw and immediately reads the thread control. With the redraw now deferred, that control is still disconnected; the card closes and declines the opening, leaving the panel to show the thread. Waiting longer in the test cannot restore a card already closed.
Reproduction and repair boundary
uv run pytest tests/browser/margin/test_opening_threads.py::test_a_spilled_thread_opens_the_full_thread_without_a_hidden_anchor -q -n0failed at the reported visibility assertion (125.56 seconds). The CI screenshot also shows the thread in the panel, rather than beside its passage.For diagnosis only, I changed
renderAnnotationsto callpaintAnnotations()directly instead ofannotationPresentation.present(). The unchanged test then passed in 7.03 seconds, including its margin-control visibility, card focus, thread contents, closed-panel and reply-key assertions. I restored the file afterward; the working tree is clean. This establishes the shared scheduling mechanism with #4443, rather than a changed placement expectation.Restoring direct painting as a permanent fix would bypass the dependency tracking #4330 introduced for message ages. Deferring card preparation would instead require carrying the opening through the presentation pass; it should be coordinated with the contribution and focus callers at the same boundary.
@max-sixty, this issue remains open under the presentation-contract decision in #4443. That repair needs to preserve clock tracking and verify this spilled-thread opening as well as the contribution updates; no separate workaround PR was opened.
leaf-agent commentedon Nov 4, 2026
Fixed by #4451.
test_a_spilled_thread_opens_the_full_thread_without_a_hidden_anchorpassed on Linux and macOS in the latest scheduledcirun, 41622727492 (2026-11-03, at19757c94c) and in the run before it. Closing.Keep an open margin card's message ages updating (#5420)