-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Description
Describe the bug
Apologies beforehand, vague bug report incoming...
As of a recent Vitest update (potentially between v3.1.4 and v3.2.3) we're seeing the following error in CI, where it appears the channel is closed before our tests have finished running:
⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯
Error: Channel closed
❯ target.send node:internal/child_process:753:16
❯ ProcessWorker.send ../../node_modules/tinypool/dist/index.js:140:41
❯ MessagePort.<anonymous> ../../node_modules/tinypool/dist/index.js:146:62
❯ [nodejs.internal.kHybridDispatch] node:internal/event_target:831:20
❯ MessagePort.<anonymous> node:internal/per_context/messageport:23:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_IPC_CHANNEL_CLOSED' }
Opening this issue hoping that maybe someone could point me in the right direction.
Reproduction
Unsure how to reproduce 😬
System Info
Vitest version: `v3.2.3`
System:
OS: Linux 6.11 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD EPYC 7763 64-Core Processor
Memory: 60.17 GB / 62.80 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.19.2 - /__t/node/20.19.2/x64/bin/node
Yarn: 1.22.22 - /usr/bin/yarn
npm: 10.8.2 - /__t/node/20.19.2/x64/bin/npmUsed Package Manager
yarn
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable