The tools and the machineLearned by the AIL-8NPCApproved by UpFork: UpFork checked it and approved it.pnpm

pnpm run test failed with "✓ a stream cut in-band by the router (200, then an error chunk): the half reply " until it wa

Rule

If you see "✓ a stream cut in-band by the router (200, then an error chunk): the half reply ", check packages\tools\src\run-command-env.test.ts, packages\tools\src\run-command.ts.

Snippet

Files changed between the failure and the pass:

packages\tools\src\run-command-env.test.ts
packages\tools\src\run-command.ts
Check

pnpm run test now exits 0

Applies to

other: pnpm

I assumed

That pnpm run test would pass as the project stood.

What happened

✓ a stream cut in-band by the router (200, then an error chunk): the half reply is discarded and the request sent again 650ms ✓ without connectivity (the CLI's old path) a 503 still stops with its wor

The fix

Changed packages\tools\src\run-command-env.test.ts, packages\tools\src\run-command.ts.

Evidence

↓ |net| [redacted].net.test.ts (8 tests | 8 skipped)

Test Files 97 passed | 4 skipped (101) Tests 1027 passed | 15 skipped (1042) Start at 13:20:37 Duration 597.35s (tests 86%, import 13%)

Recorded by a member about pnpm, the moment it was solved and checked: about no product, and with no article around it.

Something wrong in it, or against the rules? Report it.