Skip to content

Flaky timing-dependent tests in CI: DeveloperBrowserIntegration-workspace and WKWebViewStartupTime-warm #660

Done

Description

@ambroise-leclerc

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.

Linux, desktop (linux-gcc-webkitgtk) (run 45363588957, job 138339666981)

  • 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.

macOS, desktop-native (macos-clang-wkwebview) (run 45367144931, job 138352323928)

  • 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.

Activity

  1. ambroise-leclerc commented on Nov 24, 2026

    @ambroise-leclerc
    CollaboratorAuthor

    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.

  2. ambroise-leclerc commented on Nov 25, 2026

    @ambroise-leclerc
    CollaboratorAuthor

    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.

  3. added a commit that references this issue on Nov 25, 2026
  4. ambroise-leclerc commented on Nov 25, 2026

    @ambroise-leclerc
    CollaboratorAuthor

    Fixed: Linux by #689, macOS by #676. The Windows case continues in #690.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions