Skip to content

test: Cover pnpm 12 multi-document lockfile settings - #14829

Closed
anthonyshew wants to merge 1 commit into
mainfrom
shew/test-pnpm12-multi-document-settings
Closed

anthonyshew wants to merge 1 commit into
mainfrom
shew/test-pnpm12-multi-document-settings

Conversation

@anthonyshew

Copy link
Copy Markdown
Contributor

Description

Adds a check-lockfiles fixture for #14827 using a lockfile generated by pnpm 12.11.2. The fixture has a leading packageManagerDependencies document and a project document with all six resolution settings from the report. It prunes with --docker and validates the frozen install in out/json.

This is regression coverage only. #14423 already preserves these settings on the multi-document path. The new fixture reproduces the reported failure on published turbo 2.11.7, but passes on published 2.11.9 and the current source build. I could not reproduce the reported 2.11.9 failure.

minimumReleaseAge: 0 lets pnpm's supply-chain check run without registry metadata during offline validation.

Testing Instructions

Manually ran the same fixture against these binaries:

Binary Result
Published turbo 2.11.7 Fails with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH for settings.autoDedupe.
Published turbo 2.11.9 Passes frozen lockfile validation in out/json.
Current source build Passes frozen lockfile validation in out/json.

To run against a local build, from lockfile-tests:

pnpm dlx tsx check-lockfiles.ts --fixture pnpm12-multi-document-settings --turbo-path ../target/debug/turbo

Also inspected the 2.11.9 output directly. Both out/pnpm-lock.yaml and out/json/pnpm-lock.yaml retain both documents and all six settings, and omit the unselected workspace.

@anthonyshew
anthonyshew requested review from a team and tknickman October 16, 2026 22:44
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
examples-basic-web Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-designsystem-docs Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-gatsby-web Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-kitchensink-blog Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-nonmonorepo Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-svelte-web Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-tailwind-web Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
examples-vite-web Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
turbo-site Ready Ready Preview, v0 Oct 16, 2026 10:45pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
turborepo-factory Skipped Skipped v0 Oct 16, 2026 10:45pm UTC

This branch was previously deployed

1 inactive deployment
Preview – turborepo-factory — 572619c7 Deployed Oct 16, 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