Skip to content

Pin rollup to 4.60.4 to satisfy deploy minimumReleaseAge policy - #63

Merged
Cwooper merged 1 commit into
mainfrom
fix/rollup-release-age
Jun 4, 2026
Merged

Pin rollup to 4.60.4 to satisfy deploy minimumReleaseAge policy#63
Cwooper merged 1 commit into
mainfrom
fix/rollup-release-age

Conversation

@Cwooper

@Cwooper Cwooper commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Problem

The deploy on the Hetzner box fails at pnpm install --frozen-lockfile:

[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 26 lockfile entries failed verification:
  @rollup/rollup-*@4.61.1 was published at 2026-06-04..., within the
  minimumReleaseAge cutoff (2026-06-03T11:51:20Z)

The server's pnpm enforces a minimumReleaseAge supply-chain policy. The rollup override added in #62 (rollup@4: ^4.61.1) resolved to 4.61.1, published the same day, so the policy rejected it (rollup + 25 platform binaries = 26 entries).

Fix

Pin the override to rollup@4: 4.60.4 (in both pnpm-workspace.yaml and package.json):

  • Still >= 4.59.0, so it keeps clearing the original rollup advisory (GHSA-mw96-cpmx-2vgc).
  • Published 2026-05-14 (~3 weeks old), comfortably past the policy cutoff.
  • vite only needs rollup ^4.43.0, so nothing else is affected.

Lockfile change is rollup-only (its platform binaries + @types/estree 1.0.9→1.0.8).

Verified locally (same minimumReleaseAge policy)

  • pnpm install --frozen-lockfile → exit 0, no policy violation
  • pnpm audit clean, vite build ok, 118/118 tests pass

The deploy box's pnpm enforces a minimumReleaseAge supply-chain policy.
The previous override (rollup@4: ^4.61.1) resolved to 4.61.1, published the
same day, so `pnpm install --frozen-lockfile` failed with
ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION. Pin to 4.60.4 instead: still >= 4.59.0
(the advisory fix) but several weeks old, so it clears the policy. audit and
build verified clean.
Copilot AI review requested due to automatic review settings June 4, 2026 11:57
@Cwooper
Cwooper merged commit cecf9aa into main Jun 4, 2026
1 check passed
@Cwooper
Cwooper deleted the fix/rollup-release-age branch June 4, 2026 11:57

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.

Pull request overview

Pins the frontend’s rollup@4 override to an older, policy-compliant release to prevent pnpm minimumReleaseAge failures during deploys (while staying within the known-secure >=4.59.0 range referenced in the PR description).

Changes:

  • Pin rollup@4 override to 4.60.4 (instead of ^4.61.1) to satisfy the deploy box’s minimumReleaseAge policy.
  • Regenerate pnpm-lock.yaml to reflect the pinned rollup version and its platform binaries (and corresponding @types/estree resolution).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
frontend/pnpm-workspace.yaml Pins the workspace-level rollup@4 override to 4.60.4 with rationale comments.
frontend/pnpm-lock.yaml Updates the lockfile to resolve rollup (and its platform binaries) at 4.60.4.
frontend/package.json Pins pnpm.overrides["rollup@4"] to 4.60.4 to match the workspace override.
Files not reviewed (1)
  • frontend/pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Cwooper added a commit that referenced this pull request Jun 13, 2026
#63)

The deploy box's pnpm enforces a minimumReleaseAge supply-chain policy.
The previous override (rollup@4: ^4.61.1) resolved to 4.61.1, published the
same day, so `pnpm install --frozen-lockfile` failed with
ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION. Pin to 4.60.4 instead: still >= 4.59.0
(the advisory fix) but several weeks old, so it clears the policy. audit and
build verified clean.
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.

2 participants