Avatar for the astral-sh user
astral-sh
uv
BlogDocsChangelog

Performance History

Latest Results

Retry file lock acquisition on EINTR `flock(2)` — which backs `std::fs::File::{lock,lock_shared,try_lock, try_lock_shared}` on the platforms uv supports — can fail with `EINTR` when the calling thread receives a signal, including for the non-blocking (`LOCK_NB`) operation. On Linux a blocking `flock` is restarted automatically only when the interrupting handler was installed with `SA_RESTART`; on macOS/BSD it is never restarted. uv currently surfaces that transient `EINTR` as a hard lock-acquisition failure. Loop on `EINTR` (`io::ErrorKind::Interrupted` / `rustix::io::Errno::INTR`) in both the blocking and non-blocking paths, including the Android `rustix::fs::flock` fallbacks. Genuine `WouldBlock` contention is still propagated unchanged. Adds a small `LockedFile` round-trip / contention test (the `EINTR` retry itself is not deterministically testable without delivering a signal mid-syscall). Closes #15996
RyanJamesStewart:fix/eintr-file-lock-retry
6 hours ago
Remove wmi dependency
charlie/wmi
7 hours ago
Optimize async wheel ZIP writing
codex/zip-seekable-wheel-main
9 hours ago
Remove zip crate from dev dependencies
charlie/zip-dev
10 hours ago

Latest Branches

CodSpeed Performance Gauge
+1%
Retry file lock acquisition on EINTR#19388
7 hours ago
bf03320
RyanJamesStewart:fix/eintr-file-lock-retry
CodSpeed Performance Gauge
0%
7 hours ago
9e6e063
charlie/wmi
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs