You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3cbe319
Browse filesBrowse the repository at this point in the historyBrowse files
[hooks_runner] Fail eagerly when file locking is not supported on file system (dart-lang#3679)
Instead of treating all `FileSystemException`s during `RandomAccessFile.lock` as lock contention and waiting until timeout, check the OS error code against the host OS contention error codes (`EAGAIN`/`EACCES` on Linux and macOS, `ERROR_SHARING_VIOLATION`/`ERROR_LOCK_VIOLATION` on Windows) and fail eagerly with a descriptive message when process locks are not supported.
Closes: dart-lang#3651
Also, actually close the file.
(Sorry diff is unreadable in github UI, see in vscode, everything is nested 1 level deeper)
0 commit comments