Repository navigation
test(triggers): retry the npm fixture cleanup on Windows EBUSY (#1375) - #1401
Merged
Merged
Conversation
…s still holds cli.exe (#1375)
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 #1375
Summary
The Windows CI job of PR #1372 failed
powershell.exe launches a native npm target directly with exact argvafter its assertions passed: thefinallycleanup hitEBUSY: resource busy or locked, unlink '…\cli.exe'because the file was still held (the holder is not identified: on the successful path the shell waits for its child). The per-case cleanup now retries (maxRetries: 10, retryDelay: 100, the idiom already used intest/activity-trace.test.js). Assertions are unchanged.Tests
Not reproducible on demand (CI timing). One local run under heavy load timed out at the test's own 30 s
spawnSynclimit (beforefinally, so unrelated to this change); the cross-review's run passed 5/5 (4 skipped, no pwsh), and the PR's Windows CI job passed all nine cases.Docs
no docs: test-only cleanup change, no behaviour or documented contract changes.