Repository navigation
A jump left on its way is written as he leaves; the scrubber test waits in reads (#309) - #335
Open
arimendelow wants to merge 4 commits into
Open
arimendelow wants to merge 4 commits into
arimendelow wants to merge 4 commits into
Conversation
…ts in reads (#309) Leaving with a scrubber jump still on its way logged its target as kept, then wrote it only after reading the page, which the jump's chapter still loading held until iOS had ended Gatefold: the reopen came back at the book's start (run 43277705735). The target is now written at once, in leaving's own turn, as a turn is (#301); the ordinary write still follows. -GatefoldHoldLeaveWrites holds that ordinary write for good, so the scrubber leave test proves the at-once write alone reaches the reopen. testAScrubberJumpKeepsThePlace read the page 22 s after the drag on wall time, while the jump's chapter was still loading. It now waits for the page to move in reads, and reads the page left and the reopen with #315's settle, moved to a shared PageReads.
arimendelow
enabled auto-merge (squash)
November 12, 2026 22:04
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cause, two faults:
testAScrubberJumpKeepsThePlaceread the page it settled on 20 s plussleep(2)after the drag. In that run the jump's chapter was still loading 25 s after the drag (load average 528), so the test read the page from before the jump and failed at :72.Fix:
writeJumpTargetAtOnce, inowedPlaceOnLeaving), as a turn is (Reopen after Home and an evicted app lands pages before where he left (build 25) #301). The ordinary leave write still follows. The jump's own report, if the app lives on, still writes his page and words over it. This covers every jump that setsjumpOnItsWay: the scrubber, bookmarks, highlights and search results.-GatefoldHoldLeaveWrites(UI tests only) holds the ordinary leave write for good.testAScrubberJumpLeftWhileItsChapterLoadsKeepsItsTargetnow runs with it, so only the at-once write can reach the reopen.ReaderReads.settle, never a sleep.ReaderReads.swiftis ReviewerChecks' Page Numbers test waits in reads on the reader's ready and count reports, never 120 s (#122) #331's file, copied unchanged; main is merged in once ReviewerChecks' Page Numbers test waits in reads on the reader's ready and count reports, never 120 s (#122) #331 lands. The "moved the page" check is unchanged.Proof:
testAScrubberJumpKeepsThePlacepassed, the jump landing after 78 reads.LeavingAScrubberJumpOnItsWayTests(inactive and close, the write's wait held) fail without the fix and pass with it; the 19 leave tests pass.An independent review found no blocker. Its should-fixes are in: the landing is judged with the veil down, and the helper is placed away from #325's so the two merge cleanly. When #325 lands, its
writeContentsTargetAtOnceand thiswriteJumpTargetAtOncecould become one helper.Fixes #309