Repository navigation
build(ui): Install the portal plugins with pnpm 12 - #246
Merged
Merged
Conversation
Both plugins pin pnpm 12.23.0 and now wait a day before installing a new release and refuse versions with weaker provenance. semver 6.3.1 lacks provenance, so an override moves it to 6.3.2, and pnpm denies the agent skills @tanstack/react-table ships.
The shared pnpm policy workflow now checks both plugin lockfiles on pull requests, pushes to main and a weekly schedule.
scotwells
approved these changes
Nov 28, 2026
scotwells
left a comment
Contributor
There was a problem hiding this comment.
Both portal plugins now install with pnpm 12. Installs wait a day for new package releases and refuse any package whose provenance gets weaker, matching the org's pnpm policy. The one package the trust policy rejected, semver 6.3.1, moves to 6.3.2, which has provenance, so nothing needed an exemption. The consumer and provider builds and the new policy check all pass.
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.
Problem
The consumer and provider UI plugins install with pnpm 11.28.9, which holds back no fresh releases and checks no provenance.
Solution
Both plugins pin pnpm 12.23.0 and set
minimumReleaseAge: 1440andtrustPolicy: no-downgrade. The trust policy rejectedsemver@6.3.1, which@babel/corepulls in, so an override moves it to 6.3.2, which has provenance; no package needed an exemption. pnpm denies the agent skills that@tanstack/react-tableships, the unusedvitest>tinypooloverride is gone, and a new workflow runs the shared pnpm policy check.A frozen install, typecheck, tests (44 consumer, 38 provider),
pnpm buildand the local policy check passed for both plugins, and both built images answered HTTPS requests forremoteEntry.jsandplugin-manifest.jsonwith 200.node_modulesCloses #164
Refs datum-cloud/infra#10104