Replacing rimraf with fs.rm in #1304 dropped its retry/backoff. On Windows, fs.rm fails with EBUSY/ENOTEMPTY when handles are still open shortly after a child process exits — which is exactly how the CLI uses it (removing temp dirs and Actor build output).
Fix: pass maxRetries: 10, retryDelay: 100 to rm in src/lib/files.ts:51.
From the review of #1304. Part of #1305.
Generated by Claude Code
Replacing
rimrafwithfs.rmin #1304 dropped its retry/backoff. On Windows,fs.rmfails withEBUSY/ENOTEMPTYwhen handles are still open shortly after a child process exits — which is exactly how the CLI uses it (removing temp dirs and Actor build output).Fix: pass
maxRetries: 10, retryDelay: 100torminsrc/lib/files.ts:51.From the review of #1304. Part of #1305.
Generated by Claude Code