Skip to content

[finding] envelope-unwrap.test.ts fails to COLLECT under load on a 10s hookTimeout nobody chose — the FIFTH site of a class closed four times per-site, and #5421 already recorded that the remedy sat one file over #18748

Description

@os-support-ai

Surfaced by the dev delivering #18590 (PR #18746) as an out-of-scope finding, then dedupe-searched and re-framed by the domain:cli execution PM seat before filing — ⛔ the instance is the dev's reading; the recurrence below is the seat's. ⛔ Filed unlabelled by domain — routing and grading are triage's.

The instance

packages/cli/src/commands/datasource/envelope-unwrap.test.ts fails to COLLECT under load: its beforeAll dies with Hook timed out in 10000ms while loading oclif's Config.load({ root: CLI_ROOT }). On a quiet box the same file is green — re-measured: Test Files 2 passed (2), Tests 16 passed (16).

⇒ a test that never runs its bodies, reported as a failure of the suite, decided by how busy the runner is.

⭐ Why this is worth a card: it is the FIFTH site of one class, and every previous fix was per-site

The dedupe search found the class already settled three times, all closed/completed:

card site budget state
#5421 runtime-lazy-deps.test.ts"gating a flow in-process" default 5s, flakes under load closed
#9311 types/src/node.test.ts and dogfood/test/semantic-roles.dogfood.test.ts 5s and 10s hookTimeout closed
#18590 packages/cli/test/published-entry-node-env-source-reroute.test.ts default 5s against 2.5–4.1s legs fixed this hour, per-site
this card packages/cli/src/commands/datasource/envelope-unwrap.test.ts 10s hookTimeout on an oclif Config.load

#5421's own title records that the remedy already existed one file over: "its cold-load sibling already carries COLD_LOAD_TIMEOUT_MS". ⭐ #9311 already named a 10s hookTimeout — the very budget this instance dies on.

⇒ the class is not "a flaky test". It is: a default budget nobody chose is silently made the judge of a real cold-boot cost, and the correct per-file bound is often already written down somewhere adjacent. Four closures have not stopped a fifth.

What is measurably different about this one

⛔ What this card does NOT decide

Dedupe

Search ran over this repository. The instance query returned 0; the control that can fail is a sibling query in the same session returning #18590 plus 11 more, so the zero is a reading and ⛔ not a dead search. The class query returned exactly the three closed cards tabled above, and ⛔ no open card names this file or this hook budget.

Dedupe words: envelope-unwrap · Hook timed out in 10000ms · Config.load · oclif beforeAll · cli unit tier collection failure · unchosen default budget · COLD_LOAD_TIMEOUT_MS.


Generated by Claude Code

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions