Skip to content

Add a 7-day pnpm minimumReleaseAge to match the Dependabot cooldown#8808

Merged
zurfyx merged 1 commit into
mainfrom
zurfyx/pnpm-minimum-release-age
Jul 7, 2026
Merged

Add a 7-day pnpm minimumReleaseAge to match the Dependabot cooldown#8808
zurfyx merged 1 commit into
mainfrom
zurfyx/pnpm-minimum-release-age

Conversation

@zurfyx

@zurfyx zurfyx commented Jul 7, 2026

Copy link
Copy Markdown
Member

Why

Companion to the 7-day Dependabot cooldown already in .github/dependabot.yml. The cooldown only delays Dependabot's own update PRs; it does nothing for fresh versions pulled in transitively via ^ range resolution on ordinary installs. minimumReleaseAge closes that gap at the resolver level, keeping the lockfile ahead of the internal registry's quarantine window (and installable once Metaccio is enforced on laptops).

What

  • minimumReleaseAge: 10080 (7 days, in minutes) — the resolver never selects a version younger than the window, for direct or transitive deps.
  • Kept equal to the Dependabot cooldown so both windows stay in lockstep.
  • lexical / @lexical/* excluded (first-party, quarantine-exempt).

Notes

  • No lockfile churn: lexical's lockfile already pins mature versions, and minimumReleaseAge only affects future resolutions. This is a preventive gate.
  • Graceful fallback confirmed on pnpm 10.34.1: an in-range resolution falls back to the newest mature version rather than erroring; frozen-lockfile CI is unaffected.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 7, 2026
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview Jul 7, 2026 6:27pm
lexical-playground Ready Ready Preview Jul 7, 2026 6:27pm

Request Review

Holds back freshly-published registry versions for 7 days so lockfile
entries stay ahead of the internal registry's quarantine window. Value is
in minutes (7*24*60 = 10080); mirrors the existing 7-day Dependabot npm
cooldown. First-party lexical / @lexical/* is excluded. Preventive gate on
future resolutions; no lockfile churn.
@zurfyx zurfyx force-pushed the zurfyx/pnpm-minimum-release-age branch from cac7dfb to 6604f44 Compare July 7, 2026 18:25
@zurfyx zurfyx enabled auto-merge July 7, 2026 18:26
@zurfyx zurfyx added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit 781815b Jul 7, 2026
46 checks passed
@etrepum etrepum mentioned this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants