Skip to content

Migrated SDK workspace to pnpm (PLA-322) - #1041

Draft
9larsons wants to merge 1 commit into
mainfrom
codex/pla-322-sdk-pnpm-baseline
Draft

Migrated SDK workspace to pnpm (PLA-322)#1041
9larsons wants to merge 1 commit into
mainfrom
codex/pla-322-sdk-pnpm-baseline

Conversation

@9larsons

@9larsons 9larsons commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

What changed

  • replaced Yarn Classic with an integrity-pinned pnpm 10.34.5 workspace and verified pnpm-lock.yaml
  • enabled the supply-chain baseline: minimumReleaseAge: 4320, strictDepBuilds: true, and blockExoticSubdeps: true
  • explicitly denied the currently detected dependency build scripts; there are no true build approvals
  • converted package lifecycle scripts, Lerna, developer docs, and repository metadata to pnpm
  • replaced the Yarn-only reusable test workflow with an equivalent local Node 20/22 pnpm matrix
  • migrated the publish workflow to frozen pnpm installs while preserving npm OIDC, provenance, independent package versioning, build-artifact commits, and Lerna's from-package release flow
  • declared build-time dependencies that Yarn hoisting had supplied implicitly

Why

This brings SDK onto the pnpm supply-chain baseline tracked by PLA-322 and makes dependency lifecycle execution reviewable and deny-by-default.

Validation

  • pnpm install --frozen-lockfile
  • pnpm lint
  • pnpm test (all 17 packages)
  • pnpm build
  • individual pnpm publish --dry-run --no-git-checks for all 17 packages
  • NPM_CONFIG_DRY_RUN=true pnpm ship:ci
  • actionlint
  • JSON/YAML parsing and git diff --check

The exact Lerna publish dry-run completed successfully with no unpublished packages detected.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4ac80bd8-37ab-481f-bf73-87e6ac02a251

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e050d68) to head (4af4a24).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1041   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines         3060      3060           
  Branches       459       459           
=========================================
  Hits          3060      3060           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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