Skip to content

fix: read past the page start in the live-news continuity test - #4396

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4236
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4236

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The live-news continuity journey still expected a page at scroll offset zero to follow its old heading when a revision inserts context above it. #4124 deliberately changed that behavior to keep a page read from its start at its start, preserving the title. The reported 40.1875px shift occurs at that revision step; work status and the held reply already preserve their positions.

Start the journey 20px down before recording its reading, editor and Resolve positions. All existing assertions remain, including draft selection, resting-pointer hit testing, held news and the genuine growth released by opening the reply. No product behavior changes.

The existing test failed on main before this change and passes with it, including at 6× CPU throttling. The October 24 and 25 scheduled results passed before #4124; the October 26 results fail at the source-revision assertion on both Linux and macOS.

Closes #4236 — automated triage

The test passed in the October 24 and 25 scheduled runs, then failed at its source-revision step after #4124 deliberately made a page at scroll offset zero stay at its start. Inserting New context above the title therefore moved the reading target by 40.1875px as designed.

Start this continuity journey 20px down, as the neighboring empty-region test already does, preserving the stable reading, draft selection, resting pointer and held-reply assertions without reversing the title-preservation decision. The existing test fails before this setup change and passes after it, including at 6x CPU throttling.

Closes #4236
@leaf-agent
leaf-agent merged commit 5e2209a into main Oct 27, 2026
3 of 4 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4236 branch October 27, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live news moves the resting reading target by 40px

1 participant