Repository navigation
build: move cloud/ and docs/site/ to pnpm 12.14.0 - #30600
Merged
Merged
Conversation
The root moved to pnpm 12 in #17156 but these two isolated workspaces were left on pnpm 10, so CI and deploys carried a second pnpm and pnpm/action-setup. - Pin the root's integrity-checked pnpm 12.14.0 and regenerate both lockfiles (only the pnpm 12 package-manager document is added; the dependency graph is unchanged). - Move settings pnpm 12 ignores out of .npmrc and package.json#pnpm into each pnpm-workspace.yaml; onlyBuiltDependencies becomes allowBuilds, and cloud keeps esbuild's script skipped as pnpm 10 did. package-manager-strict is gone in pnpm 12, whose own version pinning supersedes it. - docs/site drops --ignore-workspace: under pnpm 12 it skips the workspace file, losing the overrides and failing the frozen install. vercel.json now pins install/build so a stale dashboard command cannot reintroduce it. - Cloud and docs workflows use pnpm/setup@v2 like the root; the relay unit-test step uses the root's pnpm instead of npx pnpm@10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
cloud/anddocs/site/were the last workspaces still on pnpm 10.34.6. The root moved to pnpm 12 (now 12.14.0) and these two were never moved with it. Every developer and CI job therefore keeps a second pnpm and a second package store around just for them. This moves both to the root's pnpm 12.14.0.What Changed
packageManagerfields now match the root's exactpnpm@12.14.0+sha512…value..npmrcsetting moves intopnpm-workspace.yamlasengineStrict: false.package-manager-strictis dropped, because pnpm 12 rejects it as an unknown setting and now enforces the pinned version itself.allowBuilds: esbuild: falsekeeps pnpm 10's behaviour of skipping esbuild's build script. pnpm 12 fails the install on any build script that isn't approved.engines.pnpmis now>=12.minimum-release-ageand thepackage.json#pnpmoverrides move into a newpnpm-workspace.yaml.onlyBuiltDependenciesbecomesallowBuilds(esbuild and sharp both allowed).--ignore-workspaceis removed fromdocs.yml, the README, and the newvercel.jsoninstall command. Under pnpm 12 that flag skips the workspace file and its overrides, so frozen installs fail. The site's ownpnpm-workspace.yamlalready makes it a separate workspace root.pnpm/action-setuptopnpm/setup@v2withpackage-json-file, the same as the root.unit-tests.ymlrelay step uses the root's pnpm instead ofnpx pnpm@10.34.6.docs/site/vercel.jsonnow sets the install and build commands. They take precedence over the old dashboard install command, which still carried--ignore-workspace.Why
Nothing technical kept these on pnpm 10. #17156 only moved the root and
mobile/, and #24561 only bumped 10.24.0 to 10.34.6. Running one pnpm everywhere means one store and one set of settings semantics. It also avoids the pnpm 10 → 12 switch failure on machines with an older global pnpm.Linked Issue
N/A (maintainer).
Visual Proof
N/A: tooling only.
Testing
cloud/ (Node 24):
CI=truefrozen install,pnpm build,pnpm typecheckandpnpm testpass. Postgres-backed tests are skipped locally.--filter '@orca-cloud/relay...' install --frozen-lockfile --ignore-scripts, then the^...build.--prodruntime install.docs/site/ (Node 22):
docs.ymlstep passes: frozen install, tests (16/16), lint, tsc andnext build.vercel build --prodpasses. With a project whose saved settings held the old commands,vercel.json's commands won.Bootstrap with empty caches:
npx --yes pnpm@12.14.0works.Root: 75
config/scriptstest files that read workflows, lockfiles orpackageManagerpass (1,730 tests). The changed-code gate, oxfmt and actionlint are clean.Review
Agent skill upstream boundary
Notes
Deploy-path risks:
node:24-*tags, which currently ship corepack 0.35.0. Pinning an older Node 24 image would break them. The root headless-pairing Dockerfile already has the same dependency.relay-evidence-code-provenance.mjscoverscloud/package.json, the lockfile, the workspace file and the operate workflows. After merge, evidence sealed before it is rejected, so operators must re-run the production monitor before the next rehome or same-cap step. This fails safe.vercel.jsonnow overrides them.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)