Repository navigation
chore(deps): enforce a 14-day uv release cooldown - #100
Merged
Merged
Conversation
Member
Author
|
@salty-hambot review |
peterfoldes
approved these changes
Nov 24, 2026
peterfoldes
left a comment
Contributor
There was a problem hiding this comment.
Rubber stamp 🧂 — CI green, salty-hambot clean.
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.
Problem
Renovate's 14-day cooldown only limits the version Renovate proposes. uv locks the newest release, so locks pick up releases younger than 14 days, and
renovate/artifactsfails on Renovate PRs.Solution
exclude-newer = "14 days"in[tool.uv], so uv enforces the cooldown on every lock: Renovate PRs, monthly lock maintenance, transitive dependencies and localuv lock. Requires uv 0.12 or later. This repo doesn't run the ci-tools relock workflow, so a Renovate security update younger than 14 days failsrenovate/artifacts. To take it, add a dated exception under[tool.uv],exclude-newer-package = { <name> = "<the current UTC time, like 2026-11-24T18:00:00Z>" }, then runuv lock. Remove the entry after 14 days: a dated entry holds that package at its date.[tool.uv]settings are not part of published package metadata, so consumers of this package are unaffected.CI pins uv 0.7.12 in the workflows, which cannot parse the value, so the pin is bumped to 0.13.7 (the version ci-tools uses).
Version changes
none
The lock was also rewritten by uv 0.13.7 (adds
[options]withexclude-newer-span = "P14D").Exceptions
none
Proof
Not tested
Live API and PyPI publish workflow run only in CI. CI never runs
uv lock --check, so it would not catch a stale lock. That gap predates this change.Made by Claude (Anthropic) in T3 Code (Claude Code harness), as part of an org-wide rollout.