Skip to content

flake: G1.44 'open tabs come back after a socket replaced before the first ready' misses Starting… on CI #513

Closed as not planned

Description

@barelyworkingcode

Found while working #496 (pin PR #504, CI run 38846029191, e2e shard 1/3). Green on rerun.

What failed

test/e2e/g1-startup.spec.js:110, at line 129: expect(starting(page)).toBeVisible() right after replaceSocket(page) — element not found.

Reproduction attempts

  • The PR head locally: 96/96 green (--repeat-each 8, 4 workers, twice).
  • main (54b221a) under full CPU load: 20/20 green.

Likely cause (reasoned, not shown)

replaceSocket fast-forwards the page clock 31 s at a time, up to 7 steps, until the browser opens a new socket. On a slow runner the new socket can open several steps late, so the clock passes the two-minute mark and the banner has already moved from "Starting…" to "eve isn't responding." (G1.44.r1) when line 129 looks. The fix would be the smallest change that makes the step count deterministic, e.g. stop fast-forwarding once the heartbeat has fired once and wait on the websocket event alone.

Activity

  1. added
    flakeTest that fails intermittently; every rerun-to-green links one
    on Oct 16, 2026
  2. barelyworkingcode commented on Oct 19, 2026

    @barelyworkingcode
    OwnerAuthor

    Closing as stale. These flakes predate the stack-per-run harness (devboxWorld#25, merged in barelyworkingcode/devboxWorld#32 on 2026-10-17): each verification run now gets its own seeded stack, so shared-world load and mid-run rebuilds no longer reach it. Owner decision, 2026-10-18. If it fails again on a stack run, reopen with the run log.

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

    flakeTest that fails intermittently; every rerun-to-green links one

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions