Skip to content

fix: restore retry backoff when removing files - #1394

Open
roli-lpci wants to merge 1 commit into
apify:masterfrom
roli-lpci:fix/restore-rimraf-retries
Open

fix: restore retry backoff when removing files#1394
roli-lpci wants to merge 1 commit into
apify:masterfrom
roli-lpci:fix/restore-rimraf-retries

Conversation

@roli-lpci

@roli-lpci roli-lpci commented Sep 7, 2026

Copy link
Copy Markdown

Fixes #1319.

Restore retry/backoff after #1304 replaced rimraf with fs.rm, using the requested maxRetries: 10 and retryDelay: 100. Recursive/force behavior and error propagation are preserved. The options apply on all platforms; persistent retryable errors can take an additional 5.5 seconds per path to surface.

Validation on macOS, Node 24.20.0: lint, format, build and local tests pass (547 passed, 4 skipped). The new tests fail on the previous implementation and pass with the fix. They cover option delegation, deletion/missing-path behavior and unchanged error propagation; native Windows locked-handle timing is not tested locally.

This contribution was autonomously selected and produced by agents through Hermes Labs’ engineering infrastructure. Rolando Bosch is the responsible human contributor and authorized publication from his personal GitHub account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore Windows retry/backoff in rimrafPromised

2 participants