-
-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
Description
Describe the bug
The extension is working fine. I can view all my tests and execute them from within the test view. I can also execute specific tests from there.
However, the Copilot Agent is unable to execute specific tests.
The request seems fine, but it always returns after Discovering tests... without executing any test (it works fine when it tries to execute all tests).
Then the Agent fallbacks to executing the test through different means, like using the terminal, which is more error-prone, less deterministic, and far less optimized for Agents.
Reproduction
https://github.com/vitest-dev/vitest/tree/main/examples
Code_7frNYEKJ26.mp4
Output
There is none, see the reproduction above.
Extension Version
1.32.1
Vitest Version
vitest/4.0.5 linux-x64 node-v24.11.0
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.