Skip to content

test: keep harness worktrees out of Vitest runs - #147

Merged
altaywtf merged 1 commit into
mainfrom
chore/vitest-exclude-worktrees
Oct 26, 2026
Merged

altaywtf merged 1 commit into
mainfrom
chore/vitest-exclude-worktrees

Conversation

@altaywtf

@altaywtf altaywtf commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Vitest stops collecting files from agent worktrees under .claude/worktrees/. The old exclude also replaced Vitest's **/node_modules/** default, so a worktree's node_modules got listed too.

vp test list with one worktree present Files
Before 3509 (3476 under .claude/worktrees/)
After 33

Verification

A probe test under .claude/worktrees/ is listed with the old config and skipped with the new one.

Notes

Vitest ignores .gitignore, so the exclude has to live in the config.

The custom exclude dropped Vitest's **/node_modules/** default, so a checkout under .claude/worktrees/ added its sources and node_modules to every run.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T12:20:20.192785Z 660225a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@altaywtf
altaywtf merged commit 8b59f25 into main Oct 26, 2026
6 checks passed
@altaywtf
altaywtf deleted the chore/vitest-exclude-worktrees branch October 26, 2026 12:21
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