Skip to content

chore(renovate): hold pnpm at 11.14.0 until deploy --legacy regression is fixed - #3291

Closed
ByronDWall wants to merge 1 commit into
mainfrom
chore/renovate-hold-pnpm-deploy-legacy-regression
Closed

ByronDWall wants to merge 1 commit into
mainfrom
chore/renovate-hold-pnpm-deploy-legacy-regression

Conversation

@ByronDWall

Copy link
Copy Markdown
Member

Summary

Adds a Renovate packageRules entry that disables updates to pnpm past our intended pin of 11.14.0.

Why

pnpm/pnpm#13618 is a regression, first appearing in pnpm 11.19.0 and still present in the current published latest (11.20.0), where a workspace dependency that has peerDependencies is left as a symlink escaping the deploy directory instead of being packed in when running pnpm deploy --legacy. In a typical Docker COPY ./deploy . flow this creates a dangling symlink that crashes the app at runtime.

The fix (pnpm/pnpm#13755) merged upstream but has not shipped in a published pnpm release yet.

I did not find any usage of pnpm deploy --legacy in this repo's Docker builds or scripts, so this hold is precautionary rather than fixing a currently broken build. It keeps Renovate from proposing a bump past our intended 11.14.0 target while the regression is unresolved upstream, so we do not pick it up unintentionally later.

This mirrors the guard already in place on commercetools/nimbus, which holds pnpm at 11.14.0 for the same reason.

This PR is independent of and complements #3290 (the packageManager bump to [email protected]). It only affects Renovate's future update proposals and pairs with whatever pin is currently in package.json.

Validation

  • jq . .github/renovate.json passes.
  • npx --yes -p renovate renovate-config-validator .github/renovate.json reports the config validated successfully.

Follow-up

Remove this rule once a released pnpm version includes the fix from pnpm/pnpm#13755.

…n is fixed

pnpm/pnpm#13618 is a regression, first appearing in pnpm 11.19.0 and still
present in the current published latest (11.20.0), where a workspace
dependency that has peerDependencies is left as a symlink escaping the
deploy directory instead of being packed in when running
`pnpm deploy --legacy`. In a typical Docker `COPY ./deploy .` flow this
creates a dangling symlink that crashes the app at runtime.

The fix (pnpm/pnpm#13755) merged upstream on 2026-08-10 but has not
shipped in any published pnpm release yet.

We have not confirmed that this repo currently uses
`pnpm deploy --legacy` in a Docker build, so this hold is precautionary:
it keeps us pinned at the intended 11.14.0 target instead of picking up a
later pnpm version that carries the regression. This mirrors the guard
already in place on commercetools/nimbus, which pins pnpm at 11.14.0 for
the same reason.

Remove the rule once a released pnpm version includes the fix.
@vercel

vercel Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
ui-kit Ready Ready Preview Aug 10, 2026 5:32pm

Request Review

@changeset-bot

changeset-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 14e6ac6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ByronDWall

Copy link
Copy Markdown
Member Author

Superseded by a consolidated PR bumping to pnpm 11.17.0 and correcting this rule's version reference.

@ByronDWall ByronDWall closed this Aug 10, 2026
ByronDWall added a commit that referenced this pull request Aug 10, 2026
…3292)

Bumps the pinned packageManager field from 11.14.0 to 11.17.0, still
safely below the known-bad 11.19.0/11.20.0 pnpm deploy legacy
regression (pnpm/pnpm#13618, fixed by pnpm/pnpm#13755, not yet
released).

Adds a renovate packageRules entry disabling pnpm updates, correcting
the version reference used in the now-superseded PR #3291 to 11.17.0
so the hold matches the version actually pinned here.

Verified with a full pnpm install, check-workspace-constraints.js,
typecheck, build, and representative jest runs across
packages/components/buttons, packages/hooks, packages/utils, and
design-system, all passing.

This branch was successfully deployed

1 active deployment
Preview — 14e6ac68 Deployed Aug 10, 2026 by vercel[bot]
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