Repository navigation
Let panel test waits ignore continuous animations - #3296
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 21, 2026
The [main CI run](https://github.com/max-sixty/leaf/actions/runs/39548136774) timed out in the floating panel's `settled` test helper while a streamed answer was active. The helper waited for every descendant animation to end, including a continuous indicator that cannot finish. It now waits for animations with finite end times, using the same criterion the shared `panel_settled` helper gained in #3296. Panel transitions still settle before geometry is read. The streaming-answer case and a separate panel settlement case pass locally. The change is confined to the browser test helper. --------- Co-authored-by: leaf-agent <[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.
The panel test helper now finishes only animations with a finite end. In main CI run 39388826277, three browser tests failed because
panel_settledcalledfinish()on a continuous working indicator while opening a thread; Chromium rejects finishing an infinite animation. The helper still finishes finite panel transitions and waits for them to clear, while allowing the working indicator to keep running.The run's separate Draw mode count assertion was already updated in #3290. The remaining failure reproduced on current
main; after this change, all three affected browser tests pass locally (4 parameterized cases).