Repository navigation
test: retry the credential-redaction temp dir removal on Windows - #296
Merged
Merged
Conversation
The claude case's CLAUDE_CONFIG_DIR lives in the test's temp dir, and on Windows claude's files can still be held for a moment after dispose, so rm failed with EBUSY (#280, #295 CI). Retry as the other vendor tests that remove a runtime's config dir already do. Closes #288. Co-Authored-By: Claude Opus 5.5 <[email protected]>
xxchan
added a commit
that referenced
this pull request
Oct 10, 2026
…arness (#315) Windows CI keeps failing with `EBUSY: resource busy or locked, rmdir …` when a vendor test removes a directory that a runtime process was using a moment before. #296 (#288) fixed `credential-redaction.vendor.test.ts`. #313's CI then hit the same error in `claude-resume.vendor.test.ts` ("Claude missing resume fails during initialize…", run 38032859591). Rather than fixing these one by one: every remaining `rm` of such a directory in sea-trial's vendor tests, harness (`aimock.ts`, `aimock-acp.ts`, `support/claude-fifo.ts`) and cases now uses `maxRetries: 10, retryDelay: 300`, as the already-fixed ones do. The recording helpers (`sea-trial/record/*`) don't run in CI and are left alone. Test-only; no release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: exe.dev user <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #288.
sea-trial/vendor/credential-redaction.vendor.test.tsfailed onbehavior (windows-latest, claude-aimock)withEBUSY: resource busy or locked, rmdir …\oar-claude-credential-test-…during CI for #280 and again for #295. The claude case pointsCLAUDE_CONFIG_DIRinto the test's temp dir. On Windows, claude's files can still be held for a moment afterdispose().The three
rmcalls in the file now retry (maxRetries: 10, retryDelay: 300), asmcp-servers.vendor.test.tsand the aimock harness already do for a runtime's config dir. Test-only; no release.🤖 Generated with Claude Code