Skip to content

fix(ci): restore pnpm 7 in generation-check workflow - #9326

Merged
danieljbruce merged 2 commits into
googleapis:mainfrom
zhumin8:fix-pnpm-version-generation-check
Sep 14, 2026
Merged

danieljbruce merged 2 commits into
googleapis:mainfrom
zhumin8:fix-pnpm-version-generation-check

Conversation

@zhumin8

@zhumin8 zhumin8 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Restore 'version: ^7.0.0' for the 'Setup pnpm' step in generation_check.yaml.

PR #8973 removed this pinning when migrating the monorepo to pnpm 10. However, 'librarian install' compiles gapic-generator-typescript from gapic-generator-v5.2.0.tar.gz which contains a pnpm 7 lockfile. When pnpm 10 executes with '--frozen-lockfile' against that lockfile, it fails with ERR_PNPM_LOCKFILE_BREAKING_CHANGE.

librarian install only support pnpm 7 at the moment.

Fixes #9322

Restore 'version: ^7.0.0' for the 'Setup pnpm' step in generation_check.yaml.

PR googleapis#8973 removed this pinning when migrating the monorepo to pnpm 10.
However, 'librarian install' compiles gapic-generator-typescript from
gapic-generator-v5.2.0.tar.gz which contains a pnpm 7 lockfile.
When pnpm 10 executes with '--frozen-lockfile' against that lockfile,
it fails with ERR_PNPM_LOCKFILE_BREAKING_CHANGE.

Fixes googleapis#9322
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@zhumin8
zhumin8 marked this pull request as ready for review September 14, 2026 18:46
@zhumin8
zhumin8 requested a review from a team as a code owner September 14, 2026 18:46
@github-actions
github-actions Bot requested a review from feywind September 14, 2026 18:46
@danieljbruce
danieljbruce merged commit 16371ac into googleapis:main Sep 14, 2026
50 checks passed
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Sep 15, 2026
Restore 'version: ^7.0.0' for the 'Setup pnpm' step in
generation_check.yaml.

PR googleapis#8973 removed this pinning when migrating the monorepo to pnpm 10.
However, 'librarian install' compiles gapic-generator-typescript from
gapic-generator-v5.2.0.tar.gz which contains a pnpm 7 lockfile. When
pnpm 10 executes with '--frozen-lockfile' against that lockfile, it
fails with ERR_PNPM_LOCKFILE_BREAKING_CHANGE.

`librarian install` only support pnpm 7 at the moment.

Fixes googleapis#9322
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.

Librarian generate diff check failed on main branch

2 participants