-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fs.Dir.deleteTree has no upper bound on retries #15465
Copy link
Copy link
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Zig Version
0.11.0-dev.2777+b95cdf0ae
Steps to Reproduce and Observed Behavior
This was meant to be a follow-up issue of #13073 (comment)
As I understand it, the CI has been running into infinite loops on Windows due to
DELETE_PENDINGwhen file handles don't get closed (#15450, #15460).Here's a minimal reproduction:
Expected Behavior
deleteTreeshould error with something likeerror.TooManyRetriesafter some user-configurable amount of retries.