You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode dev config: exclude .builders/ + node_modules from watch/search; drop Extension Test Runner recommendation #1022
Opening the repo in VSCode and accepting the recommended extensions installs ms-vscode.extension-test-runner (listed in .vscode/extensions.json). On a workspace that contains agent-farm builder worktrees (.builders/*/), that extension's test discovery runs:
Because --no-ignore skips .gitignore (so node_modules/.builders aren't excluded) and --follow chases symlinks, it walks every builder worktree's pnpm symlink farm. With ~15 worktrees this spawns a flood of rg processes and pegs CPU for ~30s at a time, recurring on file changes.
The cost is entirely in the rg walks — an extension-host CPU profile captured during the storm was ~99% idle, so no extension code is the consumer.
Root cause (both pieces are repo-provided)
.vscode/extensions.json recommends the test-runner extension.
.vscode/settings.json has nofiles.watcherExclude / search.exclude for .builders/ or node_modules, so VSCode (and any tool it drives) traverses the worktree farm.
The repo both creates the .builders/* worktree farm and recommends an extension that walks it — they collide.
Remove ms-vscode.extension-test-runner from .vscode/extensions.jsonrecommendations (keep dbaeumer.vscode-eslint and connor4312.esbuild-problem-matchers, which remain useful for the vscode package). Do not delete the file.
Optionally update packages/vscode/vsc-extension-quickstart.md, which also references the test-runner extension.
Notes
The excludes are worth having as defense-in-depth even with the recommendation removed — any tool that walks the tree (search, quick-open, other extensions) benefits.
Activity
amrmelsayed commentedon Jun 12, 2026
On it! Working on a fix now.
[Bugfix #1022] Fix: exclude .builders/node_modules from VSCode watch/…
Merge pull request #1039 from cluesmith/builder/bugfix-1022
release notes: #1022 VSCode dev config + drop test-runner recommendation