Fix update-uv-lock hook to use uv lock instead of uv sync#63812
Closed
potiuk wants to merge 1 commit intoapache:mainfrom
Closed
Fix update-uv-lock hook to use uv lock instead of uv sync#63812potiuk wants to merge 1 commit intoapache:mainfrom
uv lock instead of uv sync#63812potiuk wants to merge 1 commit intoapache:mainfrom
Conversation
The pre-commit hook for updating uv.lock was using `uv sync` which also installs packages — unnecessary overhead for a lockfile update. `uv lock` is the correct command that only regenerates the lockfile.
gopidesupavan
approved these changes
Mar 17, 2026
Collaborator
|
Reminds me a lot of #63796 |
vincbeck
approved these changes
Mar 17, 2026
choo121600
approved these changes
Mar 17, 2026
Member
Author
|
He he. Closed in favour of #63796 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
update-uv-lockpre-commit hook was usinguv syncwhich installspackages in addition to updating the lockfile. Changed to
uv lockwhichonly regenerates the lockfile — matching the hook's intended purpose.
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Opus 4.6 (1M context) following the guidelines