Skip to content

Let panel test waits ignore continuous animations - #3296

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39388826277
Oct 20, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39388826277

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The panel test helper now finishes only animations with a finite end. In main CI run 39388826277, three browser tests failed because panel_settled called finish() 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).

@leaf-agent
leaf-agent merged commit 134c979 into main Oct 20, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39388826277 branch October 20, 2026 09:06
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]>
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.

1 participant