Older pages: one per scroll of the reader's (#378) #389

Merged
littlefox merged 1 commit from issue-378-one-page into main 2026-10-28 11:35:26 +00:00
Owner

Closes #378

The failure couldn't be reproduced locally (20/20 WebKit runs passed, also with all CPUs busy), so this removes the mechanism rather than the symptom: in CI one scroll to the top loaded three older pages. The window script now counts the reader's own scrolls (not its place-keeping) and reports them; the thread list and the posts pane load an older page only after a scroll since the last one. A cascade without scrolling can't happen any more, on any engine or machine.

Verified: clippy three ways; channel-posts, channel-window, giant, page-scroll, scroll, show-more, thread-chat, thread-list, thread-list-big, channel-views specs on all profiles (40 passed). The nightly run will show whether the flake is gone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #378 The failure couldn't be reproduced locally (20/20 WebKit runs passed, also with all CPUs busy), so this removes the mechanism rather than the symptom: in CI one scroll to the top loaded three older pages. The window script now counts the reader's own scrolls (not its place-keeping) and reports them; the thread list and the posts pane load an older page only after a scroll since the last one. A cascade without scrolling can't happen any more, on any engine or machine. Verified: clippy three ways; channel-posts, channel-window, giant, page-scroll, scroll, show-more, thread-chat, thread-list, thread-list-big, channel-views specs on all profiles (40 passed). The nightly run will show whether the flake is gone. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Older pages: one per scroll of the reader's
All checks were successful
perf / perf (pull_request) Has been skipped
ci / plan (push) Successful in 3m37s
ci / check (push) Successful in 10m29s
ci / e2e (android) (push) Successful in 19m21s
ci / e2e (desktop) (push) Successful in 20m10s
ci / desktop (push) Successful in 20m18s
ci / e2e (iphone) (push) Successful in 22m13s
0e02175753
In CI, WebKit under load sometimes loaded three older pages of a thread
list for a single scroll to the top. The window script now counts the
reader's own scrolls (not its place-keeping), and a list loads an older
page only after one since the last: no cascade, whatever the engine's
timing.

Refs #378

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-28 15:15:38 +00:00
Sign in to join this conversation.
No description provided.