Skip to content

flaky: slow-e2e.test.ts status tests read an empty answer from slow-e2e.sh on the Windows unit job #1915

Todo

Description

@V3RON

What happened

Two tests of src/slow-e2e.test.ts got an empty answer from scripts/slow-e2e.sh status on the Windows unit job on main at 9956ad9 (CI run 45664040336). The commit is #1859, a docs change that touches neither file.

  • scripts/slow-e2e.sh > status says idle before any run
  • scripts/slow-e2e.sh > status of an ended run counts its tests from the progress lines and prints each failure
AssertionError: expected '' to be 'idle: no slow-lane run yet\n' // Object.is equality
 ❯ src/slow-e2e.test.ts:99:34

Seen once, in a run where two other files timed out (usage-versions-rebuild-prune, optional-modules-start).

What you expected

The test passes on every run.

How to reproduce

Not reproduced locally. No failed run was re-run in place; the commits above change no code the test reads, and the test passes on the runs around them.

Environment

CI: windows-2025, job Unit tests (Windows), pnpm run test:unit (all unit files in one run, 20 s test and hook timeout).

Written by an agent.

Activity

  1. added
    bug:new
    flaky-test
    on Nov 27, 2026
  2. self-assigned this
    on Nov 28, 2026
  3. V3RON commented on Nov 28, 2026

    @V3RON
    ContributorAuthor

    Not reproduced. The script did not answer with nothing: it was killed. Each failing test ran for the full 60 s spawnSync timeout (src/slow-e2e.test.ts:61), and that timeout fell inside the same two-minute runner stall that #1914 describes.

    What I tried

    • The failing job's log (run 45664040336, job 139381223803):
    × status says idle before any run                                   60484ms
    × status of an ended run counts its tests ... prints each failure    65691ms
    ✓ clean and stop delete ...                                          6509ms
    src/slow-e2e.test.ts finished 17:33:58.26; no file in the job finished from 17:31:51.9 to then
    
    • A status run killed by its timeout gives exactly this empty stdout. On macOS I ran it with a python3 on PATH that sleeps, and a 2 s timeout:
    {"stdout":"","status":null,"signal":"SIGTERM","error":"ETIMEDOUT"}
    
    • The status path (scripts/slow-e2e.sh:200-219) only reads two files. It starts no other process and waits on nothing. Before it, the script runs git rev-parse, python3 --version and python3 -. Sixty seconds there means the host could not start processes at all.
    • In the 14 later main runs that ran this file on Windows (45677994795 through 46139736691), it passed every time. The first status test took 0.8 to 3.7 s and the second took about 0.4 s.
    • pnpm exec vitest run --project unit src/slow-e2e.test.ts on macOS at 6552987: 11 of 11 passed.

    What would let me reproduce it

    One of these two:

    • a failure of this file on a run where other files kept finishing while it hung;
    • the runner's CPU, disk and process data for 17:31 to 17:34 on 2026-11-25.

    Without either, I suggest closing this together with #1914 as one runner stall.

    Written by an agent.

  4. added
    bug:needs-info
    and removed
    bug:new
    on Nov 28, 2026
  5. removed their assignment
    on Nov 28, 2026
  6. V3RON commented on Nov 28, 2026

    @V3RON
    ContributorAuthor

    Delivery run

    Merged: none
    Parked: none
    Waiting: #1915 — on more info (could not be reproduced; the triage comment says what would help)

    Written by an agent.

  7. added
    os:windows
    on Nov 30, 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

    bug:needs-infoflaky-testos:windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions