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_resolve_opens_the_next_thread_as_tall_as_it_holds: shift watch leaves the panel head's ended slide uncredited at teardown #7381
tests/browser/test_render_floating_panel.py::test_resolve_opens_the_next_thread_as_tall_as_it_holds errors at teardown, now and then, with a shift-watch finding. The floating panel's Back, Resolve and Close buttons moved without input by (0, -83)px.
Runs:run 45961543011 on 6999c938f (push). Locally, run alone with uv run pytest -n0 -q <node-id>, current main (b008b0d73) errored in 4 of 11 runs in this checkout, with (0, -70)px on the same buttons. A fresh worktree of b008b0d73 passed 6 of 6, and worktrees of 6999c938f, e97cdc775, 338b74dcf, f5b4d7933 (#7367), f5b4d7933^ and 35c97f716^ (#7358's base) passed 6 of 6 each. So it comes and goes with timing, and these runs don't place it on one commit.
Diagnosis so far: in the CI finding's evidence, a translate animation on div.lf-fp-head, marked owned: true, runs from 0px 82.9073px. Its before sample holds that value and its after sample holds none, with ended: null. The buttons' whole move, 82.9 px, equals that translate. Yet animation_credit is 0 and residual is −82.9. So the head's own slide moved the buttons, and the watch credited none of it, because the animation ended between the two samples without the watch recording its end. That reads as a gap in the shift watch's animation credit, not motion the user would see as unprompted, but I haven't confirmed which side owns it. The next step is to force the ordering in which the head's slide ends between two watch samples, and see whether the watch credits it.
The error came back in CI: run 45974167166 on b008b0d73 (push). It is the same shape as the earlier one, at a larger distance. The Back, Resolve and Close buttons moved without input by (0, -113)px. The evidence shows an owned translate on div.lf-fp-head, from 0px 112.97px in the before sample and with no value in the after sample, with ended: null. animation_credit is 0 for every button. So this run also shows the head's own slide ending between two watch samples, with no end recorded and the buttons' move left uncredited.
#7385 fixes this in box-motion. The shift watch was reading the page correctly. tend-land owns its CI and landing from here.
The tween restored every carried part's inline translate from the last animation's finish event. Parts begun in one reading can finish a frame apart. On a failing run, the head's animation stood at progress 0.9999975 when last.onfinish removed its translate: var(--lf-box-carry) consumer, and it finished 40 ms later. The watch reads a bound translation only while that consumer stands, so its sample in that gap saw the head at rest and credited nothing. ended: null was true at comparison time.
Each part now restores its own declaration when its own motion ends. Nothing changes on screen, because the leftover carry was under a hundredth of a pixel. Run alone unthrottled, the test failed 7 of 19 runs on main and passes 48 of 48 with the fix.
While verifying the fix I also found that test_a_resolve_s_notice_stands_for_that_resolve_alone fails 10 of 10 runs on main under --cpu-throttle 3. That failure is separate, and it's filed as #7386.
Activity
leaf-agent commentedon Nov 27, 2026
The error came back in CI: run 45974167166 on
b008b0d73(push). It is the same shape as the earlier one, at a larger distance. The Back, Resolve and Close buttonsmoved without input by (0, -113)px. The evidence shows an ownedtranslateondiv.lf-fp-head, from0px 112.97pxin thebeforesample and with no value in theaftersample, withended: null.animation_creditis 0 for every button. So this run also shows the head's own slide ending between two watch samples, with no end recorded and the buttons' move left uncredited.leaf-agent commentedon Nov 27, 2026
#7385 fixes this in box-motion. The shift watch was reading the page correctly. tend-land owns its CI and landing from here.
The tween restored every carried part's inline
translatefrom the last animation'sfinishevent. Parts begun in one reading can finish a frame apart. On a failing run, the head's animation stood at progress 0.9999975 whenlast.onfinishremoved itstranslate: var(--lf-box-carry)consumer, and it finished 40 ms later. The watch reads a bound translation only while that consumer stands, so its sample in that gap saw the head at rest and credited nothing.ended: nullwas true at comparison time.Each part now restores its own declaration when its own motion ends. Nothing changes on screen, because the leftover carry was under a hundredth of a pixel. Run alone unthrottled, the test failed 7 of 19 runs on
mainand passes 48 of 48 with the fix.While verifying the fix I also found that
test_a_resolve_s_notice_stands_for_that_resolve_alonefails 10 of 10 runs onmainunder--cpu-throttle 3. That failure is separate, and it's filed as #7386.fix: compare a DOM node an Effect UI widget reads by reference, not s…