Skip to content

Give plugin functional-test polling a CI-sized timeout#16

Merged
IRus merged 1 commit into
mainfrom
fix/plugin-continuous-reload-test-timeout
Jul 19, 2026
Merged

Give plugin functional-test polling a CI-sized timeout#16
IRus merged 1 commit into
mainfrom
fix/plugin-continuous-reload-test-timeout

Conversation

@IRus

@IRus IRus commented Jul 19, 2026

Copy link
Copy Markdown
Member

Problem

JVM and build tooling fails intermittently on KwasmPluginFunctionalTest > continuous reload watches the linked wasm and debounces changes with java.lang.AssertionError at KwasmPluginFunctionalTest.kt:627 — the awaitCondition timeout assert. Failed on main and on PR #12's run, passed on PR #5's run and passes locally: a classic slow-runner flake, not a product regression.

The test drives a real Gradle TestKit --continuous build (start-up, file-watching registration, a 600 ms quiet period, then a rebuild) and polls each phase with a 30 s ceiling. On a loaded shared runner the first continuous build alone can eat most of that budget.

Fix

Raise the awaitCondition default timeout from 30 s to 120 s. Polling still returns the moment the condition holds, so green runs stay exactly as fast; only genuinely stuck runs wait longer before failing.

🤖 Generated with Claude Code

The continuous-reload functional test polls for Gradle TestKit
continuous-build activity with a 30s ceiling. On loaded GitHub-hosted
runners the first continuous build plus the 600ms quiet period
regularly needs more than that, so the test times out in awaitCondition
(KwasmPluginFunctionalTest.kt:627) while passing locally, failing CI
runs 29676886384 and 29678913141 without any product change. Raise the
polling default to 120s; the poll still returns as soon as the
condition holds, so healthy runs are not slowed down.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@IRus
IRus merged commit 21e245e into main Jul 19, 2026
13 of 15 checks passed
@IRus
IRus deleted the fix/plugin-continuous-reload-test-timeout branch July 19, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant