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_a_thread_walk_starts_one_page_trip_and_reveals_its_nested_passage fails on main since #5285 #5476
AssertionError: the thread walk jumped the page before its smooth navigation step began: {'firstPage': 1221, 'rail': 3978, 'local': 456, 'localXFits': True} assert 1221 < 100
Introducing change:#5285 (b9203f0). Bisect over the 94392ce..bb35e35 range ran test_a_thread_walk_starts_one_page_trip_and_reveals_its_nested_passage at each step; the test passes on b9203f0d6^ and fails on b9203f0d6.
CI evidence: first failing push run 41782631970, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.
No cause has been diagnosed past the bisect. Read #5285's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5285 replaced (update the test) or caught a regression (fix the code).
This is a test repair rather than a code regression. #5518 has the fix, its CI is green, and the tend-land run that will merge it is already going.
#5285 replaced the browser's smooth scroll with Leaf's 140 ms ease-out glide, and even a prompt first frame of that glide moves about a third of the trip. The firstPage < 100 threshold was built on native smooth scroll's slow start, so it couldn't tell the glide's first frame from the nearest-edge jump it was written to catch. That jump happens in the press's own task, so the test now reads the scroll positions there: the nested scrollers have moved and the page has not. It also checks that the page's scroll positions only ever increase on the way to the centre. Locally the old test fails on current main, the new one passes three times in a row, and putting back the page's nearest-edge reveal makes it fail with the page at 830 px.
The PR description also notes, without changing it, that the glide's clock starts at the press. Here the next frame came 70–90 ms after the press, so the first frame that moved the page showed it about 90% of the way there.
Activity
leaf-agent commentedon Nov 5, 2026
This is a test repair rather than a code regression. #5518 has the fix, its CI is green, and the
tend-landrun that will merge it is already going.#5285 replaced the browser's smooth scroll with Leaf's 140 ms ease-out glide, and even a prompt first frame of that glide moves about a third of the trip. The
firstPage < 100threshold was built on native smooth scroll's slow start, so it couldn't tell the glide's first frame from the nearest-edge jump it was written to catch. That jump happens in the press's own task, so the test now reads the scroll positions there: the nested scrollers have moved and the page has not. It also checks that the page's scroll positions only ever increase on the way to the centre. Locally the old test fails on current main, the new one passes three times in a row, and putting back the page's nearest-edge reveal makes it fail with the page at 830 px.The PR description also notes, without changing it, that the glide's clock starts at the press. Here the next frame came 70–90 ms after the press, so the first frame that moved the page showed it about 90% of the way there.