-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ci: Make Windows tests ~27% faster by putting temp folder in dev drive #6680
Conversation
This reverts commit c0a9f6e.
…the wrong log filter kicking in
67ac298
to
66d5e2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! This looks great.
@fasterthanlime Curious, it seems
Would this have work if |
As suggested by @samypr100 on astral-sh#6680: astral-sh#6680 (comment)
As suggested by @samypr100 on astral-sh#6680: astral-sh#6680 (comment)
…6858) As suggested by @samypr100 on #6680: #6680 (comment) ## Summary Instead of using `UV_INTERNAL__TEST_DIR`, it simply exports `TEMP` when running Windows jobs. ## Test Plan I'm going to run this manually under ProcMon on my Windows machine and see where uv writes temp files, hopefully to the dev drive and not `%(LOCAL)APPDATA%` or something. I'm going to commit a dummy code change and look at build time changes in CI.
Part of #5713 |
Summary
This PR makes
cargo test | windows
faster in CI.Before
After
Also
This PR disables the
brotli
feature ofasync-compression
since it's not strictly needed, but this has little to do with the improvements (it's still less code to build).This PR introduces additional code in uv tool uninstall to ignore errors (that only seem to happen on ReFS, ie. on Dev Drives) akin to "the thing we're trying to delete cannot be deleted because it's already being deleted".
If
raw_os_error
was stable we could do u32 matching instead of that.to_string().contains()
abomination.