Skip to content

Conversation

@Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Nov 20, 2025

[default-reuse] › tests\watch.spec.ts:593:5 › watching all tests should also execute newly added files is flaky on windows bots. Here's the fix, apparently our code depends on file changes arriving in separate batches.

@Skn0tt Skn0tt requested a review from dgozman November 20, 2025 15:38
@Skn0tt Skn0tt self-assigned this Nov 20, 2025
]);
});

// some of our functionality depends on FS events being processed in separate batches
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment suggests that we have a bug in the extension itself, not in the test. Could you please make this more specific?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the key thing is that we need listTests to succeed before kicking off the second file change, otherwise test runner won't know that the changed file is a test. I updated my diff, the previous one was a brain fart

@Skn0tt Skn0tt merged commit c074364 into microsoft:main Nov 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants