vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Copilot Agent cannot execute specific tests

Open felipecrs opened this issue 2 months ago • 0 comments

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

https://github.com/user-attachments/assets/3d8b447b-12aa-406c-a0e4-fc30df661485

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

felipecrs avatar Oct 30 '25 13:10 felipecrs