Open
Description
Describe the bug
Yesterday the extension (1.24.4) worked.
Today it does not (1.24.5 and 1.24.6). These two version are not able to find the configuration file.
Nothing has changed since yesterday (same editor configs, same project config files, etc.).
Reproduction
Open VSCode and bring up the "Testing" sidebar.
Output
[INFO 10:40:58 AM] [v1.24.6] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 10:40:59 AM] [API] Resolving configs: [REDACTED]/vite.config.ts
[INFO 10:40:59 AM] [API] Initiated ws connection via ws://localhost:53182
[INFO 10:40:59 AM] [API] Starting Vitest v3.2.3 ([REDACTED]/vite.config.ts) in the terminal: node C:/Users/[USER]/.vscode/extensions/vitest.explorer-1.24.6/dist/worker.js
[Error 10:41:04 AM] There were errors during config load.
[Error 10:41:04 AM] [Error Error] The extension could not connect to the terminal in 5 seconds. See the "vitest" terminal output for more details.
Error: The extension could not connect to the terminal in 5 seconds. See the "vitest" terminal output for more details.
at Timeout._onTimeout (c:\Users\[USER]\.vscode\extensions\vitest.explorer-1.24.6\dist\extension.js:13:3802)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)
[Error 10:41:06 AM] [Error Error] The extension could not load any config.
Error: The extension could not load any config.
at kl (c:\Users\[USER]\.vscode\extensions\vitest.explorer-1.24.6\dist\extension.js:13:9918)
at Li._defineTestProfiles (c:\Users\[USER]\.vscode\extensions\vitest.explorer-1.24.6\dist\extension.js:25:2314)
at Li.defineTestProfiles (c:\Users\[USER]\.vscode\extensions\vitest.explorer-1.24.6\dist\extension.js:25:1701)
at Li.activate (c:\Users\[USER]\.vscode\extensions\vitest.explorer-1.24.6\dist\extension.js:25:7158)
at ME (c:\Users\[USER]\.vscode\extensions\vitest.explorer-1.24.6\dist\extension.js:25:662)
at Wb.n (file:///c:/Users/[USER]/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:13382)
at Wb.m (file:///c:/Users/[USER]/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:13345)
at Wb.l (file:///c:/Users/[USER]/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:12801)
Extension Version
1.24.6
Vitest Version
3.2.3
Validations
- Check that you are using the latest version of the extension
- 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.