Skip to content

[PM Fixer] Add pnpm 12 to CI test matrix - #3705

Merged
agrasth merged 4 commits into
masterfrom
RTECO-1037-pnpm12-ci-matrix
Sep 8, 2026
Merged

agrasth merged 4 commits into
masterfrom
RTECO-1037-pnpm12-ci-matrix

Conversation

@agrasth

@agrasth agrasth commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

This repo's own CI (pnpmTests.yml, gates every PR merge here) is hardcoded to pnpm-version: [10, 11]. pnpm 12 is the actual current latest release — #3692 fixed a real pnpm 12 compatibility bug found by the external PM-compat-monitor pipeline — but this matrix never tested it, meaning a pnpm-12 regression could land through normal PR review here and only get caught later, externally, off-cycle.

Fix

Added 12 to the pnpm-version matrix. Node 22.13 (already used for the 10/11 legs) covers pnpm 12 too — nothing in the compat-monitor's investigation found evidence pnpm 12 raised that floor further, so no other change was needed. Updated the accompanying comment for accuracy.

Compatibility impact

CI config only. No production or test code touched.

Test plan

  • YAML validated with python3 -c "import yaml; yaml.safe_load(...)"
  • Verified the "Validate pnpm version" step's bash comparison logic against a real pnpm 12.3.4 install — correctly passes for matrix value 12
  • The actual matrix job itself needs a real CI run (live Artifactory + OS runners) to fully confirm, but the code path this fix touches (npm install -g pnpm@${{ matrix.pnpm-version }} + the version-validation step) is identical to what already works for the 10/11 legs
  • Depends on [PM Fixer] Fix pnpm 12.2.1 compatibility: use --store-dir in prepareArtifactoryForPnpmBuild #3692 being merged first — before that fix, this matrix entry would fail immediately on the -store-dir test-helper bug

Opened by PM Compat Fixer follow-up, prompted by review of #3692.

This repo's own CI (pnpmTests.yml, gates every PR merge here) was
hardcoded to pnpm-version: [10, 11]. pnpm 12 is the actual current
latest release (#3692 fixed a real pnpm 12 compatibility
bug found by the external PM-compat-monitor pipeline), but this matrix
never tested it - meaning a pnpm-12 regression could land through normal
PR review and only get caught later, externally, off-cycle.

Adds 12 to the matrix. Node 22.13 (already used for the 10/11 legs)
covers pnpm 12 too - nothing in the compat-monitor's investigation found
evidence pnpm 12 raised that floor further. Verified the pnpm-version
validation step's bash logic against a real pnpm 12.3.4 install.
@agrasth
agrasth enabled auto-merge (squash) September 8, 2026 10:17
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

@agrasth
agrasth merged commit 2823137 into master Sep 8, 2026
130 checks passed
@agrasth
agrasth deleted the RTECO-1037-pnpm12-ci-matrix branch September 8, 2026 10:35

This branch was previously deployed

1 inactive deployment
build-gate — 24030e93 Deployed Sep 8, 2026 by agrasth via Approval gate #1145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pm-compat-fixer Opened automatically by JFrog's PM Compat Fixer agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants