Skip to content

test(claude): retry removing the name-clash test's config dir on Windows - #185

Merged
xxchan merged 1 commit into
mainfrom
fix/claude-mcp-clash-cleanup
Oct 7, 2026
Merged

xxchan merged 1 commit into
mainfrom
fix/claude-mcp-clash-cleanup

Conversation

@xxchan

@xxchan xxchan commented Oct 7, 2026

Copy link
Copy Markdown
Member

The claude mcpServers name-clash vendor test (#178) removes its CLAUDE_CONFIG_DIR scratch directory right after the session ends. On the Windows claude-aimock job, claude and the user-scope MCP servers it started can still be writing there as they exit, so rmdir failed with ENOTEMPTY twice on the v0.32.0 release PR (#184, run 37586620255). The assertions before it passed; only the cleanup failed.

This retries the removal (maxRetries: 10, retryDelay: 300), the same as sea-trial/harness/aimock.ts does for codex's home. Test-only change; no library code changes.

🤖 Generated with Claude Code

claude and the user-scope MCP servers it started can still be writing
under CLAUDE_CONFIG_DIR as they exit, so rmdir failed with ENOTEMPTY on
the Windows claude-aimock job (twice on the v0.32.0 release PR). Retry
like the other vendor tests' scratch directories.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 6ac908b into main Oct 7, 2026
13 checks passed
@xxchan
xxchan deleted the fix/claude-mcp-clash-cleanup branch October 7, 2026 07:30
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