Skip to content

Flaky under load: DeveloperBrowserIntegration-workspace, "The collapsed terminal must have its prompt" #729

Done

Description

@ambroise-leclerc

Seen while validating #727 (#721) locally, on a Linux CEF build (-DWEBFRONT_EMBED_CEF=ON -DWEBFRONT_ENABLE_TESTING=ON, Release) with ctest -L web-integration --parallel 4, on a 24-core machine whose load average was about 22 (other builds were running).

Symptom

  • DeveloperBrowserIntegration-workspace failed after 15 s:
    Error: The collapsed terminal must have its prompt
        at eventually (fixtures/run.mjs:9:41)
        at async fixtures/run.mjs:1203:9
    
  • This is the until (400 × 25 ms, about 10 s) that waits for > in #terminal .xterm-rows of the relaunched page opened on an existing interface (test/web/developer-specs.mjs, page layout part).
  • The same test passed when it was rerun alone (ctest -R DeveloperBrowserIntegration-workspace, 6.6 s), and in an earlier full run of the same tree.

Relation with #660
#660 (closed) was the same part waiting for the relaunched page to start (The relaunched page did not start), and gave it 60 s. The wait for the prompt that follows still has the 10 s of until, which a loaded machine can exceed while the page loads the history and the C++ commands before drawing the prompt.

Expected

  • A wait bound to an observable state with a limit that holds on a loaded runner (docs/TEST_TIERS.md), or a limit consistent with the 60 s given to the relaunch.

To do

  • Reproduce under load (ctest -R DeveloperBrowserIntegration-workspace --repeat until-fail:20 while other parts run in parallel).
  • Find what the relaunched page waits for before showing its prompt (commands discovery, history read), and size or replace the wait.

Activity

  1. added a commit that references this issue on Nov 28, 2026
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