Skip to content

Wait 3 days before taking new dependency releases - #85

Merged
marcleblanc2 merged 1 commit into
mainfrom
marc/minimum-release-age
Nov 12, 2026
Merged

marcleblanc2 merged 1 commit into
mainfrom
marc/minimum-release-age

Conversation

@marcleblanc2

Copy link
Copy Markdown
Collaborator

A malicious or broken release is usually pulled within days. Renovate opened
pull requests for markdownlint-cli2 0.24.1 and uv 0.13.8 within hours of
their release.

  • renovate.json: minimumReleaseAge: "3 days". Renovate opens no branch for
    a release until it is 3 days old. Security updates skip the wait, which is
    Renovate's default. src-py-lib is exempt, so a new release of our own
    library can ship here the same day.
  • .npmrc: min-release-age=3. npm resolves no version younger than 3 days
    when it writes package-lock.json. npm ci installs what the lock file
    names and is not affected.
  • Workflows: pip install --uploaded-prior-to P3D for the uv pin. A pin
    younger than 3 days fails the job, security updates included.

Renovate has no release dates for lock file maintenance, so it now holds that
update. A follow-up will set uv's exclude-newer and then let lock file
maintenance run again. uv lock rejects exclude-newer today, because the
locked ruff 0.17.5 is younger than 3 days until 2026-11-15 17:54 UTC.

Test plan

  • npx --yes --package renovate renovate-config-validator renovate.json:
    config validated
  • pip 26.2.2, the version on the Linux and macOS runners:
    pip install --dry-run --uploaded-prior-to P3D "uv==0.13.4" resolves, and
    "uv==0.13.8" (published 2026-11-12) fails with
    No matching distribution found
  • With min-release-age=3: npm ci --ignore-scripts and
    npm install --package-lock-only pass, and package-lock.json is unchanged
  • actionlint and npm run lint:markdown pass
  • Not tested: what Renovate does with the setting, which shows only after
    merge, and release.yml, which runs only on a tag

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

@marcleblanc2
marcleblanc2 merged commit 0e33e53 into main Nov 12, 2026
7 checks passed
@marcleblanc2
marcleblanc2 deleted the marc/minimum-release-age branch November 12, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant