Patch Changes
-
#12629
603fe18Thanks @petebacondarwin! - AddremoveDirandremoveDirSynchelpers with automatic retry logic for Windows EBUSY errorsThese new helpers wrap
fs.rm/fs.rmSyncwithmaxRetries: 5andretryDelay: 100to handle cases where file handles aren't immediately released (common on Windows with workerd).
The async helper also has afireAndForgetoption to silently swallow errors and not await removal.This improves reliability of cleanup operations across the codebase.