You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky timing-dependent tests in CI: DeveloperBrowserIntegration-workspace and WKWebViewStartupTime-warm #660
Two tests failed on pull request #659 (release/1.2.0 into master) although the same tree passes on develop. Both depend on elapsed time on a loaded hosted runner, not on the content of the change.
DeveloperBrowserIntegration-workspace failed after 27 s with The relaunched page did not start (test/web/developer-specs.mjs, the until that waits for the status Developer environment ready. of the relaunched iframe).
The server log shows the relaunched page requested its resources and upgraded to WebSocket, then no ready status before the wait expired. Every other case of the 212 passed.
WKWebViewStartupTime-warm failed after 14 s. The priming run reported ready 2836 ms and the warm run ready 7005 ms (view created at 5625 ms instead of 1485 ms). The other 211 cases passed.
Expected
A deterministic wait on an observable state, or a limit that holds on a loaded runner, as docs/TEST_TIERS.md asks of asynchronous waits.
For the startup case, a limit that tolerates a slow runner, or a measurement that separates runner load from a startup regression (docs/TEST_TIERS.md, docs/WEBKITGTK.md).
To do
Reproduce DeveloperBrowserIntegration-workspace under load (ctest --repeat until-fail:20 with parallel jobs) and find what the relaunched page waits for.
Review the limits of <Frontend>StartupTime-warm against the last runs (FlakeReport.py --days).
Keep both cases required; the fix must not skip them.
Third case, same pattern, on pull request #661 (run 45386859677, job 138419919464, desktop-native (windows-msvc-webview2)): DeveloperBrowserIntegration-jasmine failed after 68 s. Its seventh wf test ended with status=timeout, exitCode=124, total=0 after 60 s: the page started no spec, whereas the six previous runs took about one second each. The error text is An afterAll failure must be reported with its suite, and the stylesheet applied: Error: Tests stopped at their time limit. The change under test only touches the version, the changelog, the READMEs and a workflow timeout, and the same tree passed on master. Also seen once on the same day: sccache: error: Timed out waiting for server startup in web-integration (clang) (run 45371059588), an infrastructure failure that passed on rerun.
The Windows case (runner.js never requested, not a time limit) moves to #690. The Linux case is fixed by #689; the macOS case by #676 (RUN_SERIAL). This issue closes once #689 is merged.
Activity
ambroise-leclerc commentedon Nov 24, 2026
Third case, same pattern, on pull request #661 (run 45386859677, job 138419919464,
desktop-native (windows-msvc-webview2)):DeveloperBrowserIntegration-jasminefailed after 68 s. Its seventhwf testended withstatus=timeout,exitCode=124,total=0after 60 s: the page started no spec, whereas the six previous runs took about one second each. The error text isAn afterAll failure must be reported with its suite, and the stylesheet applied: Error: Tests stopped at their time limit. The change under test only touches the version, the changelog, the READMEs and a workflow timeout, and the same tree passed on master. Also seen once on the same day:sccache: error: Timed out waiting for server startupinweb-integration (clang)(run 45371059588), an infrastructure failure that passed on rerun.ambroise-leclerc commentedon Nov 25, 2026
The Windows case (
runner.jsnever requested, not a time limit) moves to #690. The Linux case is fixed by #689; the macOS case by #676 (RUN_SERIAL). This issue closes once #689 is merged.Merge pull request #689 from ambroise-leclerc/660-flaky-timing-tests
ambroise-leclerc commentedon Nov 25, 2026
Fixed: Linux by #689, macOS by #676. The Windows case continues in #690.
Give the wf run script of the terminal spec 60 s to start