uv/crates/uv-git/src
Zanie Blue e3d5d3d26d
Avoid deadlocks when multiple uv processes lock resources (#6790)
This is achieved by updating the `LockedFile::acquire` API to be async —
as in some cases we were attempting to acquire the lock synchronously,
i.e., without yielding, which blocked the runtime.

Closes https://github.com/astral-sh/uv/issues/6691 — I tested with the
reproduction there and a local release build and no longer reproduce the
deadlock with these changes.

Some additional context in the [internal Discord
thread](1278478941)
2024-08-29 11:16:14 -05:00
..
credentials.rs Redact Git credentials from pyproject.toml (#6074) 2024-08-14 01:30:02 +00:00
git.rs Allow user to constrain supported lock environments (#6210) 2024-08-20 13:28:04 +00:00
lib.rs Redact Git credentials from pyproject.toml (#6074) 2024-08-14 01:30:02 +00:00
resolver.rs Avoid deadlocks when multiple uv processes lock resources (#6790) 2024-08-29 11:16:14 -05:00
sha.rs Use full requirement when serializing receipt (#5494) 2024-07-31 16:16:39 +00:00
source.rs Avoid using debug representation for git source urls (#6779) 2024-08-28 22:02:24 +00:00