Skip to content

test(triggers): retry the npm fixture cleanup on Windows EBUSY (#1375) - #1401

Merged
devsuitup merged 1 commit into
mainfrom
fix/1375-npm-windows-cleanup
Nov 29, 2026
Merged

devsuitup merged 1 commit into
mainfrom
fix/1375-npm-windows-cleanup

Conversation

@devsuitup

@devsuitup devsuitup commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #1375

Summary

The Windows CI job of PR #1372 failed powershell.exe launches a native npm target directly with exact argv after its assertions passed: the finally cleanup hit EBUSY: 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 in test/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 spawnSync limit (before finally, 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.

@devsuitup devsuitup added no-changelog The PR changes nothing a user sees; the CHANGELOG.md check is waived no-docs PR changes code but no user or agent doc needs an update labels Nov 29, 2026
@devsuitup
devsuitup merged commit 908c58f into main Nov 29, 2026
12 checks passed
@devsuitup
devsuitup deleted the fix/1375-npm-windows-cleanup branch November 29, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog The PR changes nothing a user sees; the CHANGELOG.md check is waived no-docs PR changes code but no user or agent doc needs an update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(test): trigger-name-transport-npm-windows cleanup fails with EBUSY on cli.exe

1 participant