8000 [BUG] DevKit Test Explorer sometimes shows tests and sometimes doesn't · Issue #1966 · microsoft/vscode-dotnettools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[BUG] DevKit Test Explorer sometimes shows tests and sometimes doesn't #1966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ocallesp opened this issue Apr 28, 2025 · 3 comments
Closed
Assignees
Labels
area-test Test discovery, execution, debugging aspire Issues impacting .NET Aspire plans bug Something isn't working fixed-pending-release high-priority
Milestone

Comments

@ocallesp
Copy link
Member

Describe the Issue

Is there a way to figure out why test explorer sometimes shows tests and sometimes doesnt? I frequently have this situation where my test explorer shows this:

Image

If I hit the Refresh Tests button it goes away and builds all the tests but still nothing displays. In the output logs it shows this:

Image

Steps To Reproduce

reported in dotnet\aspire

This was reported internally

Expected Behavior

No response

Environment Information

No response

@ocallesp ocallesp added area-testing-platform Issues related to Testing Platform and Code Coverage aspire Issues impacting .NET Aspire plans bug Something isn't working labels Apr 28, 2025
@ocallesp ocallesp added this to the Apr2025 milestone Apr 28, 2025
@ocallesp ocallesp self-assigned this Apr 28, 2025
@Youssef1313
Copy link
Member
Youssef1313 commented Apr 30, 2025

@ocallesp Is this VSTest-only? MTP-only? Both?

Aspire repo is currently using VSTest: https://github.com/dotnet/aspire/blob/4e112fd2e97fbb19ed09a6eeb79e158e2354b1b2/.vscode/settings.json#L3

So if the issue happens, is it the same as what @captainsafia reported for MTP? In that case it means it's affecting both VSTest and MTP and wasn't really MTP specific?

It's getting more unclear as to what the issues are today.

cc @drognanar @pavelhorak

@arunchndr
Copy link
Member

Both MTP and non MTP reports. @Youssef1313 added you to the internal thread for this with Safia and Mitch.

@AbhitejJohn AbhitejJohn added area-test Test discovery, execution, debugging and removed area-testing-platform Issues related to Testing Platform and Code Coverage labels Apr 30, 2025
@ocallesp ocallesp modified the milestones: Apr2025, May2025 May 1, 2025
@ocallesp
Copy link
Member Author
ocallesp commented May 5, 2025

The issue is caused by the VSCode API's file system watchers failing inside Linux Docker containers.
We've just merged a fix, but we're continuing to explore alternative approaches to improve reliability in this scenario.

@ocallesp ocallesp closed this as completed May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test Test discovery, execution, debugging aspire Issues impacting .NET Aspire plans bug Something isn't working fixed-pending-release high-priority
Projects
None yet
Development

No branches or pull requests

4 participants
0