Repository navigation
studiobench: step back over a gap the completeness traversal skipped - #17581
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Follow-up to #17577. That change capped the completeness traversal's upward step at 3/4 of the viewport. On #17580 three of the four windowed cells now reach full coverage, but one still came back unmeasured. That was enough to fail
Parity verdict, scored against the nullagain:The run's payload shows the cap was applied (
traverse_step_px: 720on a 960px viewport) and the walk still skipped ordinal 13. So even a step shorter than the viewport can carry past a row. The likely cause is the windowed list re-anchoringscrollTopwhen rows above it mount at their real height rather than their estimate, which moves the viewport further than the step asked for. The payload does not record per-stop spans, so this is inferred rather than observed. Either way, no fixed step size can rule the gap out, so the walk now checks for it and closes it.Change
TRAVERSE_JSintests/studio/studiobench/runtime/readiness.py:sweep_continuousis now judged on the union of every stop's mounted span, so those extra stops count. The meaning is the same as before: no gap in the sweep where a row could hide. An ordinal still missing from a continuous sweep is still reported as lost, and a hole inside one stop's own window is still reported as a missing middle.No app code changes.
Guard
windowed_anchor_jumpinthread_fixture.js: once, halfway up, the viewport jumps 600px further than the step, as a re-anchoring list does. With the 300px capped step, that skips one row.test_a_scroll_anchor_jump_does_not_leave_coverage_unmeasured: the sweep must stay continuous and coverage complete. With the step-back disabled, it fails (sweep_continuousis False), the same shape as the CI cell.Testing
tests/studio/studiobench/runtime/selftest/(including all live browser cases),test_studiobench_thread_reopen_gate.py,test_studiobench_windowed_parity.py: 412 passed, 1 skipped.studiobench-ui-parityandstudiobench CIruns are the end-to-end check.