Skip to content

🐛 Exclude .venv and cache dirs from test index scan#168

Merged
savannahostrowski merged 5 commits into
mainfrom
exclude-tests-venv
Jun 16, 2026
Merged

🐛 Exclude .venv and cache dirs from test index scan#168
savannahostrowski merged 5 commits into
mainfrom
exclude-tests-venv

Conversation

@savannahostrowski

Copy link
Copy Markdown
Member

Closes #165

This PR fixes a bug where we weren't filtering out tests in virtual environments. It also makes indexing a bit more performant by using pMap to parallelize and changes the VS Code API used to readFile so we aren't opening files to read them (which is why the reported issue impacted language servers).

@savannahostrowski savannahostrowski self-assigned this Jun 16, 2026
@savannahostrowski savannahostrowski added the bug Something isn't working label Jun 16, 2026
@savannahostrowski savannahostrowski merged commit dbc9e16 into main Jun 16, 2026
11 checks passed
@savannahostrowski savannahostrowski deleted the exclude-tests-venv branch June 16, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FastAPI extension triggers .venv test file scan

1 participant