-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retry on spurious failures when caching built wheels #4605
Conversation
There are various other |
I believe this is only called at uv/crates/uv-distribution/src/source/mod.rs Line 1430 in f01aebe
build_distribution i.e. placing a built wheel in the cache
The other pull request includes uv/crates/uv-distribution/src/source/mod.rs Line 863 in f01aebe
i.e. extracting a source distribution to the cache |
Here's the error we're attempting to address
|
I took a guess and pulled the binary from this PRs build binary | windows job: When I use that in conjunction with hatch, then all I get is this 😬
|
@axel-kah The debug builds have a weirdly small stack size on Windows — not a problem in releases but we have to work around it during testing. $Env:UV_STACK_SIZE = '2000000' More details in our contributing guide |
After setting the stack size the debug build works - but run's into the same error. I'll give #4606 a shot as well. EDIT: and no instance of retrying in the verbose log. |
Hm, neither this nor #4606 seem to eliminate this problem so far. |
That's surprising :( |
#2419 appears to have only applied this retry to wheels that were already downloaded (though I would have to look more carefully to be certain). In #1491, we've gotten continued reports of spurious failures on Windows and tracing reveals that we are not applying our retry logic during the rename. I believe we're in this code path — switching to our backoff retry should resolve the failures.