Skip to content

chore(vscode): gitignore .vscode-test harness cache directory#194

Merged
jung-thomas merged 1 commit into
mainfrom
chore/gitignore-vscode-test
Jul 15, 2026
Merged

chore(vscode): gitignore .vscode-test harness cache directory#194
jung-thomas merged 1 commit into
mainfrom
chore/gitignore-vscode-test

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

Problem

Running the extension test suite (npm test under @vscode/test-electron) downloads a full VS Code binary into vscode-extension/.vscode-test/6,314 files / ~906 MB. This directory was not ignored, flooding the git working tree (~882 changes in the VS Code git window).

Fix

Add .vscode-test/ to vscode-extension/.gitignore, alongside the other build outputs (out/, dist/, webview-dist/, _i18n/, *.vsix). Nothing under that path was ever tracked, so nothing is orphaned.

This is the standard @vscode/test-electron cache location and should never be committed.

The @vscode/test-electron harness downloads a full VS Code binary into
vscode-extension/.vscode-test/ (~900MB, 6300+ files), which flooded the
git working tree. Ignore it alongside the other build outputs.
@jung-thomas jung-thomas merged commit 48cc1e9 into main Jul 15, 2026
17 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.

1 participant