Skip to content

Pin pnpm to 11.11.0 via packageManager field#283

Merged
bkontur merged 3 commits into
devfrom
chore/pin-pnpm-11.12.0
Jul 13, 2026
Merged

Pin pnpm to 11.11.0 via packageManager field#283
bkontur merged 3 commits into
devfrom
chore/pin-pnpm-11.12.0

Conversation

@danielbui12

@danielbui12 danielbui12 commented Jul 13, 2026

Copy link
Copy Markdown
Member

Background

  • CI floated on pnpm/action-setup's with: version: 11, resolving to whatever latest-11 is at run time causing recent CIs failure
  • Found an similar issue on pnpm/action-setup repo https://github.com/pnpm/action-setup/issues/276. It is due to their package bug

Changes

Declare the exact version (with integrity hash) in package.json's packageManager field and drop the action's version input so pnpm/action-setup resolves from the single source of truth that local pnpm also respects.

CI floated on pnpm/action-setup's `version: 11`, resolving to whatever
latest-11 is at run time; a freshly published release broke the action's
self-installer and failed the Zombienet Smoke Test job before any test ran.

Declare the exact version (with integrity hash) in package.json's
packageManager field and drop the action's version input so
pnpm/action-setup resolves from the single source of truth that local
pnpm also respects.
@danielbui12 danielbui12 reopened this Jul 13, 2026
@bkontur

bkontur commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

at run time causing recent CIs failure

@danielbui12 Which error exactly? can you link the CI failed job please?

@danielbui12

danielbui12 commented Jul 13, 2026

Copy link
Copy Markdown
Member Author

@bkontur recent jobs in these PR. I'm still verifying them

All of them failed with the same error

  pnpm install --frozen-lockfile
  shell: bash --noprofile --norc -e -o pipefail {0}
  ...
  ...
 ERROR  Cannot use 'in' operator to search for 'integrity' in undefined
For help, run: pnpm help install

@danielbui12

danielbui12 commented Jul 13, 2026

Copy link
Copy Markdown
Member Author

Found an similar issue on pnpm/action-setup repo https://github.com/pnpm/action-setup/issues/276. It is due to their package bug

pnpm's self-switcher (used by pnpm/action-setup for packageManager pins)
fails with "Cannot use 'in' operator to search for 'integrity' in
undefined" when the target version is 11.12.0. Pin 11.11.0, which the
switcher installs fine, and document the constraint in the action.
@danielbui12 danielbui12 changed the title Pin pnpm to 11.12.0 via packageManager field Pin pnpm to 11.11.0 via packageManager field Jul 13, 2026
@bkontur
bkontur enabled auto-merge July 13, 2026 09:59
@bkontur
bkontur disabled auto-merge July 13, 2026 10:16
@bkontur
bkontur merged commit 6fc2259 into dev Jul 13, 2026
40 checks passed
@bkontur
bkontur deleted the chore/pin-pnpm-11.12.0 branch July 13, 2026 10:16
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