Repository navigation
Check settled panel paint independently of frame delivery - #4207
Merged
Merged
Conversation
Move sampled fold/unfold paint to an opt-in developer benchmark. Keep pointer and keyboard endpoint pixel coverage in the functional suite so background scheduling does not determine whether CI receives an intermediate frame.
max-sixty
marked this pull request as ready for review
October 26, 2026 06:32
leaf-agent
reviewed
Oct 26, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The settled-paint test fails on Linux because its colour search now includes the page content. The inline suggestion restores the panel-strip search; the focused test passes with that correction.
leaf-agent
approved these changes
Oct 26, 2026
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.
The floating-panel paint test now waits for each pointer and keyboard fold to finish, then checks the visible mark against the control's centre and its keyboard focus ring. The previous test required intermediate screencast frames and failed under background scheduling even though the same test passed normally and with 10× CPU throttling.
Move the frame-by-frame reading to
leaf-dev bench-panel-motion. It reports frame coverage, missing paint and ring separation with host load, without making frame delivery a CI pass/fail condition. Both paths share the pixel reader and the existing panel-motion completion helper. The browser-support note points to the benchmark.The settled screenshot reads only the panel strip, excluding page text that happens to match the mark's colour. A deliberately matching heading reproduces the Linux CI failure before that crop and passes with it.
Validation: the old test failed under
taskpolicy -bon a missing ring frame; the new test passes normally, undertaskpolicy -b, and with--cpu-throttle 10. The adjacent held-motion badge test passes. A hidden-mark mutation makes the new test fail at its paint assertion. The benchmark exercised all four routes, reporting 0 missing marks/rings and at most 1.5px separation under normal scheduling. Undertaskpolicy -bit reports the observed missing ring frame (1 of 6 keyboard-fold frames) without failing the command. Focused pre-commit checks pass. No product runtime changed.Closes #4128