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
Folded panel peek reports uncredited movement during three browser tests #4497
Teardown of three cases in tests/browser/test_render_floating_panel.py reports passive movement of text in div#lf-fp-peek, with the peek itself moving in the same frame: test_nothing_passing_interrupts_the_user_writing moves (80.140625, 0.109375)px; test_the_folded_leaf_keeps_its_badge_and_face_through_motion moves (586.40625, 0.734375)px; test_the_leaf_paints_inside_its_focus_ring_after_folding moves (11.390625, 0.015625)px. Each evidence record has zero scroll and animation credit and empty animation terms. #3017 is a historical lead, but its closed report concerns a different 5.015625px leftward status-feedback shift with a stationary leaf; the present log does not establish recurrence of that mechanism. Reproduce the motion and determine whether the layout or watcher owns the missing credit.
These cases passed in preceding push run 40556111189, on ea07413cfd91437f1607d43a6fd1cbda7ae45a4c. This session read the deciding diagnostics without a local reproduction. Reproduce on current main, inspect prior CI records and the introducing change, and preserve its intent and the user behavior when choosing a repair. A passing rerun alone does not clear an intermittent failure.
Reproduced all three cases on main with 6× CPU throttling and preserved a smaller failing watcher test in draft #4503. No fix has landed; the draft deliberately fails and must not merge as-is. CI at the reproduction commit confirmed the same 130px failure (1 failed, 2143 passed), and separately reported a Ruff formatting change in the new setup block.
The missing credit belongs to the watcher's declaration reading. #4480's chrome guard supplies all: revert-layer; the peek's own rule wins in the browser, but declaredValues() returns both revert-layer and the anchor inset. anchoredInset() requires every candidate to be an anchor expression, so it rejects the relationship before the existing native-anchor motion credit can run. This explains the empty credit terms without changing the panel's folding behavior or weakening its CSS isolation.
Reproduction and remaining boundary
On main, uv run pytest tests/browser/test_render_floating_panel.py -q -n0 -k 'nothing_passing_interrupts or folded_leaf_keeps or leaf_paints_inside' --cpu-throttle 6 completes the three behavior assertions but reports all three peek movement errors at teardown. The preceding push run's saved JUnit results show these cases passing, so that earlier pass does not clear the timing-dependent failure.
The draft extends test_native_anchor_follows_owned_translation_but_not_an_independent_offset with a rollback followed by the surface's anchor rule. Its focused run gives 1 failed, 3 passed: the clean rollback case incorrectly reports 130px of movement; the unguarded case and both independent-margin fault controls pass.
Simply filtering out revert-layer is not a defensible repair: a rollback can actually win and remove an anchor declaration. The current conservative reader deliberately avoids resolving specificity, cascade layers and scope proximity. I have not established a safe replacement for that proof.
The remaining repair needs a safe proof of native-anchor ownership through CSS rollbacks. An independent tend-land repair run is now active on #4503 and owns that follow-up, including the formatting correction; this triage session is leaving its implementation to that run. The issue remains open.
#4503 now contains a fix and is ready for review. The watcher checks the inset alternatives below a rollback and uses Typed OM's preserved auto value to avoid crediting an anchor that the rollback removed. The regression and independent-offset controls pass, and all three reported panel cases fail before the fix and pass afterward at 6× CPU throttling.
Pushed as 351e063e3. CI and the queued review still need to verify that head; the review/landing workflows own that follow-up with the CI wait disabled. This issue remains open until the repair lands.
Activity
cifailing onmain(push) #3985leaf-agent commentedon Oct 27, 2026
Reproduced all three cases on main with 6× CPU throttling and preserved a smaller failing watcher test in draft #4503. No fix has landed; the draft deliberately fails and must not merge as-is. CI at the reproduction commit confirmed the same 130px failure (1 failed, 2143 passed), and separately reported a Ruff formatting change in the new setup block.
The missing credit belongs to the watcher's declaration reading. #4480's chrome guard supplies
all: revert-layer; the peek's own rule wins in the browser, butdeclaredValues()returns bothrevert-layerand the anchor inset.anchoredInset()requires every candidate to be an anchor expression, so it rejects the relationship before the existing native-anchor motion credit can run. This explains the empty credit terms without changing the panel's folding behavior or weakening its CSS isolation.Reproduction and remaining boundary
On main,
uv run pytest tests/browser/test_render_floating_panel.py -q -n0 -k 'nothing_passing_interrupts or folded_leaf_keeps or leaf_paints_inside' --cpu-throttle 6completes the three behavior assertions but reports all three peek movement errors at teardown. The preceding push run's saved JUnit results show these cases passing, so that earlier pass does not clear the timing-dependent failure.The draft extends
test_native_anchor_follows_owned_translation_but_not_an_independent_offsetwith a rollback followed by the surface's anchor rule. Its focused run gives 1 failed, 3 passed: the clean rollback case incorrectly reports 130px of movement; the unguarded case and both independent-margin fault controls pass.Simply filtering out
revert-layeris not a defensible repair: a rollback can actually win and remove an anchor declaration. The current conservative reader deliberately avoids resolving specificity, cascade layers and scope proximity. I have not established a safe replacement for that proof.The remaining repair needs a safe proof of native-anchor ownership through CSS rollbacks. An independent
tend-landrepair run is now active on #4503 and owns that follow-up, including the formatting correction; this triage session is leaving its implementation to that run. The issue remains open.fix: preserve native-anchor motion credit through CSS rollbacks
leaf-agent commentedon Oct 29, 2026
#4503 now contains a fix and is ready for review. The watcher checks the inset alternatives below a rollback and uses Typed OM's preserved
autovalue to avoid crediting an anchor that the rollback removed. The regression and independent-offset controls pass, and all three reported panel cases fail before the fix and pass afterward at 6× CPU throttling.Pushed as
351e063e3. CI and the queued review still need to verify that head; the review/landing workflows own that follow-up with the CI wait disabled. This issue remains open until the repair lands.test: report how each animation in shift evidence began, who owns it,…