Skip to content

WLUP-6803: raise the pnpm release-age gate from 1 day to 7 days - #243

Merged
Francis Trudeau-Beaulieu (Frank-TB) merged 1 commit into
masterfrom
feature/WLUP-6803-wl-orbiter-raise-the-pnpm-release-age-gate-from-1
Nov 26, 2026
Merged

Francis Trudeau-Beaulieu (Frank-TB) merged 1 commit into
masterfrom
feature/WLUP-6803-wl-orbiter-raise-the-pnpm-release-age-gate-from-1

Conversation

@Frank-TB

@Frank-TB Francis Trudeau-Beaulieu (Frank-TB) commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Issue: WLUP-6803 (part of LEAPSEC-403)

Summary

Packages from outside Workleap must be at least 7 days old before pnpm installs them. The gate was 1 day.

What I did

  • pnpm-workspace.yaml: minimumReleaseAge from 1440 to 10080 minutes. @workleap* stays the only exempt scope until LEAPSEC-404 publishes the standard list.
  • Renovate needs no change: renovate.json extends workleap/renovate-config, which already sets minimumReleaseAge: "7 days".
  • CI already uses the right pnpm: the setup action sets no version:, so pnpm/action-setup reads packageManager (pnpm@10.19.0).
  • No changeset: no published package changes.

pnpm add and pnpm update (including the update-outdated-deps script) now refuse a matching version that is less than 7 days old.

How to test

  • pnpm config get minimumReleaseAge → 10080.
  • pnpm add -w -D @types/node@<version published in the last 7 days> is refused. On pnpm 10.19 the error is ERR_PNPM_NO_MATCHING_VERSION ("…was released at …"), not ERR_PNPM_NO_MATURE_MATCHING_VERSION.
  • CI installs with --frozen-lockfile, which selects no new version, so green CI does not exercise the gate.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 14:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the change raising the dependency release-age gate to seven days.

No open issues 🎉

What changed in this PR

Raises pnpm’s dependency release-age gate from 1 day to 7 days, implementing WLUP-6803’s waiting period for packages outside Workleap.

Changes:

  • Increases minimumReleaseAge from 1440 to 10080 minutes.
  • Preserves @workleap* as the only release-age exemption.
File Description
pnpm-workspace.yaml Sets the minimum dependency release age to 7 days.

Review effort: Balanced

@Frank-TB
Francis Trudeau-Beaulieu (Frank-TB) merged commit 9197c91 into master Nov 26, 2026
12 checks passed
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.

4 participants