Repository navigation
Replay: record text readiness so a slow runner cannot delay a held panel (fixture 12) - #340
Merged
Merged
Conversation
…e recorded frame Fixture 12 diverged on frames 76-77 on the macOS CI runner (diverged=2, every named counter zero). The only changed term was the Filmography modal's surface phase: Opening -> Open two frames later than recorded. A presented surface stays held at appear 0 while text::prewarm_pending() (#312), and that queue drains under a wall-clock budget (text::drain_prewarm), so a slower CPU held the panel for more frames. Reproduced locally on efficiency cores (taskpolicy -c background): 3/4 replays DIVERGED at f=76/77 with the CI hashes. The observation is now an environmental input like the page capture's GPU readiness: the product loop samples the queue once before dispatch, the recorder records it (capture row gains "text", CaptureReadinessV2) or supplies the recorded one, and PopoverMotion::tick reads the latched value (text::surface_text_pending). The shape bump refuses the old recordings; all three anchors re-recorded with tools/plxnative-rec rerecord. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
added a commit
that referenced
this pull request
Oct 1, 2026
… canon Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
On
main, the macOS replay gate fails on12-filmography-detail-returnwithdiverged=2and every named diff counter at 0. It failed on #330, #333 and PR #336, and passed on dev Macs.Root cause
app/recorder.rs). The CI evidence shows the same signature in all three runs: frames 76 and 77, with the replay reaching the frame-76 state 2 frames late.ui/containers/modal.rs), and the spring is held whiletext::prewarm_pending()is true (added in Navigation frame drops: invisible walks stop doing visible-walk work #312).Fix
Recplay::capture_readiness(Readiness { snapshot, text })records it, or supplies the recorded value during replay. The value is latched per frame intext::latch_surface_text_pending, andPopoverMotion::tickreads the latch.text(CaptureReadinessV2). All three anchors are re-recorded (1,6,12), andtests/fixtures/replay/README.mddocuments the new input.Red → green
taskpolicy -c background) diverged in 3 of 4 runs, at exactly the CI hashes.a_held_surface_waits_on_the_latched_text_readinessfailed (left: 8 right: 2).make checkload.controlled_replay_supplies_recorded_text_readinessis added too.Gates (on the committed tree)
make check:test result: ok. 5276 passed; 0 failed,ok. 5350 passed; 0 failed,ok. 102 passed; 0 failed--no-default-featurescheck is clean; ARMmakeis clean.make check-replay, three runs:3 fixtures, 6 replays, 0 failureseach time.🤖 Generated with Claude Code