Skip to content

test: exclude Claude worktrees from Vitest discovery - #3815

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/exclude-claude-worktrees
Oct 15, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/exclude-claude-worktrees

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

Exclude .claude directories from Vitest discovery so local worktree copies are not collected as additional tests.

Related Issue

  • N/A

How Has This Been Tested?

  • test environment: macOS with local Claude worktrees.
  • test case 1: Vitest lists 526 test files and no .claude paths, without CLI exclusions.
  • test case 2: ESLint, Prettier and git diff --check passed.

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 085dae9 into main Oct 15, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/exclude-claude-worktrees branch October 15, 2026 10:03
@openclouders openclouders mentioned this pull request Oct 15, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants