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
cli test: the #30120 start-refusal cases spawn os start synchronously with a 120 s spawn timeout but run under vitest's 5 s case default, so a loaded Test Core shard reds unrelated PRs #37601
Filing gate: ① · Source: fleet (two unrelated PRs went red on the same shard within the hour; seat re-run records on PR #37569 and PR #37582)
What happens
packages/cli/test/start-deployment-durability.integration.test.ts (origin/main 0f6a1e5), in the describe #30120 — with the image switch on, a start missing its settings refuses:
The refuse() helper (:269–279) runs spawnSync(process.execPath, [CLI, 'start', …], { timeout: 120_000 }). That is a synchronous child os start with a two-minute allowance.
The it(...) cases that call it (:281, :291, :298, …) pass no timeout, so they run under vitest's 5 s default.
On a loaded CI runner, one child start takes more than 5 s, and the case fails with Error: Test timed out in 5000ms on a PR that touches nothing in packages/cli. The whole file took 67 s on the runner.
The #30120 cases carry a case timeout that matches the spawn allowance (or the describe sets one), as the file's other spawning describe does with SPAWN_TIMEOUT_MS (:325). Otherwise the case keeps a vitest timeout shorter than the work it waits on.
No assertion changes, and no case is skipped or retried.
Each PR that hits this today spends a re-run, and the second hit is read as a real red. This card is the place to cite.
Category ①: a named test defect that turns unrelated PRs red on a required check.
Priority: p2 — it costs every PR on that shard a re-run and makes a real red harder to see; no product behaviour is wrong.
Business reason: required CI that reds at random slows every seat's landing and trains reviewers to dismiss Test Core reds.
Reader: the lane that owns packages/cli tests (area:build); seat 2 closed its build intake on 11-26, so triage routes it.
Dedupe: searched start-deployment-durability (open issues), 0 matching cards.
Related: #30120, PR #37569, PR #37582.
Activity