-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runnerp3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
When running vitest dev --browser.name=chromium --no-browser.headless
to debug a test and you debug for more than 60s, the browser is closed, you lose the debug session and the Vite process exits with
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: [birpc] timeout on calling "onTaskUpdate"
❯ Timeout._onTimeout node_modules/vitest/dist/vendor-index.b271ebe4.js:39:22
❯ listOnTimeout node:internal/timers:573:17
❯ process.processTimers node:internal/timers:514:7
Reproduction
it('should not crash', () => {
debugger;
});
System Info
System:
OS: macOS 14.0
CPU: (10) arm64 Apple M1 Max
Memory: 1011.86 MB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
bun: 1.0.7 - ~/.bun/bin/bun
Browsers:
Brave Browser: 107.1.45.123
Chrome: 119.0.6045.123
Chrome Canary: 121.0.6125.0
Edge: 119.0.2151.58
Safari: 17.0
npmPackages:
@vitejs/plugin-react: 4.1.1 => 4.1.1
@vitest/browser: ^0.34.6 => 0.34.6
@vitest/ui: ^0.34.6 => 0.34.6
vite: 4.5.0 => 4.5.0
vitest: ^0.34.6 => 0.34.6
Used Package Manager
npm
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.
MarcinVaadin, luin, kissu, gaborcs, fubhy and 9 more
Metadata
Metadata
Assignees
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runnerp3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Type
Projects
Status
Later