Skip to content

Restore Windows retry/backoff in rimrafPromised #1319

Description

@l2ysho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.t-buildersIssues owned by the Builders team.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions