Skip to content

Remove fast path from uv-git fetch#16607

Merged
zanieb merged 1 commit intomainfrom
charlie/fast
Nov 7, 2025
Merged

Remove fast path from uv-git fetch#16607
zanieb merged 1 commit intomainfrom
charlie/fast

Conversation

@charliermarsh
Copy link
Member

Summary

Now that we perform this fast-path in crates/uv-distribution/src/source/mod.rs, I think the fast-path here is no longer used? In my testing, we only actually took this path when the fast-path already failed (and thus it would fail again, wasting time).

@charliermarsh charliermarsh changed the title Remove fast path from uv-git fetch Remove fast path from uv-git fetch Nov 6, 2025
@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label Nov 6, 2025
@charliermarsh charliermarsh marked this pull request as ready for review November 6, 2025 02:26
@zanieb
Copy link
Member

zanieb commented Nov 6, 2025

cc @samypr100 (I figure you may have context — no pressure)

@samypr100
Copy link
Collaborator

I believe I noticed this too during testing when I had set UV_NO_GITHUB_FAST_PATH and it ended up in the now-removed fastpath regardless. Functionally they seemed somewhat the same (besides the "If-None-Match" header), not sure if it was intentional for it to happen twice.

@zanieb zanieb merged commit 4740d26 into main Nov 7, 2025
100 checks passed
@zanieb zanieb deleted the charlie/fast branch November 7, 2025 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants