GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pin release.yml's npm to 11.18.0, avoiding a real pnpm/npm 12 incompatibility by SayantanCode · Pull Request #35 · SayantanCode/vayo

Conversation

@SayantanCode

@SayantanCode SayantanCode commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • The first real automated OIDC publish attempt (all 9 packages, 0.1.1-beta.2) failed identically for every package with EUNKNOWNCONFIG Unknown cli flag: --git-checks — confirmed nothing published (clean, symmetric failure across all 9, no partial/burned versions).
  • Root cause confirmed against upstream: pnpm/pnpm#9646 — changeset publish always runs pnpm publish --no-git-checks for a pnpm workspace, and pnpm has an open bug mangling --no-git-checks into a bare --git-checks before forwarding it to the underlying npm call.
  • npm <12 only warned about this. npm 12's breaking change (npm/cli#9276) made unknown CLI flags a hard error, and the later walkback (npm/cli#9729) explicitly excludes CLI flags — so npm 12 will always hard-fail here.
  • npm install -g npm@latest was resolving to 12.0.1. Pinned to 11.18.0 instead — newest 11.x release, well past the OIDC >=11.5.1 requirement, predates the breaking change.

Test plan

  • Confirmed via gh run view logs that all 9 packages failed identically before any registry write (safe to retry)
  • Confirmed root cause against upstream pnpm/npm issue trackers, not guessed
  • CI green on this PR
  • Next real publish attempt (merging the refreshed Version Packages PR) succeeds with this pin

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
SayantanCode and others added 2 commits July 26, 2026 11:09
@SayantanCode
Pin release.yml's npm to 11.18.0, avoiding a real pnpm/npm 12 incompa…
4fc9c3a
…tibility

The first real automated publish attempt (0.1.1-beta.2, all 9 packages)
failed identically for every package: EUNKNOWNCONFIG "Unknown cli flag:
--git-checks". Root cause confirmed via pnpm/pnpm#9646 and npm/cli#9276:
changeset publish always runs pnpm publish --no-git-checks for a pnpm
workspace, and pnpm has an open bug that mangles --no-git-checks into a
bare --git-checks before forwarding it to the underlying npm call. npm
<12 only warned about this; npm 12's breaking change (npm/cli#9276) made
unknown CLI flags a hard error, and the later walkback (npm/cli#9729)
explicitly excludes CLI flags from the softened behavior - so npm 12 will
always hard-fail here regardless of patch version. `npm install -g
npm@latest` was pulling in 12.0.1. Pinned to 11.18.0 instead - the newest
11.x release, well past the >=11.5.1 OIDC requirement, but before the
breaking change.

Nothing was actually published by the failed attempt (confirmed: all 9
packages failed identically before any registry write), so this is a
clean retry, not a partial-state cleanup.
@SayantanCode
Merge branch 'main' into fix/pin-npm-avoid-pnpm-git-checks-bug
859e7c7
@SayantanCode
SayantanCode merged commit 565d72c into main Jul 26, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@SayantanCode
SayantanCode deleted the fix/pin-npm-avoid-pnpm-git-checks-bug branch July 26, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@SayantanCode
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.