Skip to content

Fix update-uv-lock hook to use uv lock instead of uv sync#63812

Closed
potiuk wants to merge 1 commit intoapache:mainfrom
potiuk:fix-uv-lock-hook-command
Closed

Fix update-uv-lock hook to use uv lock instead of uv sync#63812
potiuk wants to merge 1 commit intoapache:mainfrom
potiuk:fix-uv-lock-hook-command

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 17, 2026

The update-uv-lock pre-commit hook was using uv sync which installs
packages in addition to updating the lockfile. Changed to uv lock which
only regenerates the lockfile — matching the hook's intended purpose.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 4.6 (1M context)

Generated-by: Claude Opus 4.6 (1M context) following the guidelines

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.
@potiuk potiuk requested a review from Dev-iL March 17, 2026 11:57
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Mar 17, 2026
@potiuk potiuk requested a review from gopidesupavan March 17, 2026 11:57
@Dev-iL
Copy link
Collaborator

Dev-iL commented Mar 17, 2026

Reminds me a lot of #63796

@potiuk
Copy link
Member Author

potiuk commented Mar 17, 2026

He he. Closed in favour of #63796

@potiuk potiuk closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants