8000 upgrade pnpm version by shawkins · Pull Request #48975 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

upgrade pnpm version - #48975

Merged
vmuzikar merged 2 commits into
keycloak:mainfrom
shawkins:pnpm-upgrade
May 26, 2026
Merged

vmuzikar merged 2 commits into
keycloak:mainfrom
shawkins:pnpm-upgrade

Conversation

@shawkins
@shawkins shawkins commented May 13, 2026 •
Copy link
Copy Markdown
Contributor

closes: #49164

@edewit not sure if this helps anything with the build, but in trying to understand our pnpm build issue it looked vaguely related to pnpm/action-setup#178 which several user link prs to that have upgrades of the pnpm version.

This was my best guess at aligning to latest. It doesn't seem great that the maven plugin doesn't understand version 11+ as it should be using the .mjs file, not the .cjs. Captured eirslett/frontend-maven-plugin#1224 to track that issue.

Comment thread js/package.json Resolved
@shawkins
Copy link
Copy Markdown
Contributor Author

@edewit refined and updated to 11.1.3.

The two most notable t 8000 hings are:

  • needing the maven change to workaround the frontend plugin issue. I'll try to provide a fix upstream at some point.
  • I removed the sha from the package.json for the pnpm version. I'm a little fuzzy on how that pinning would be coordinated with what the frontend plugin downloads.

@shawkins
shawkins marked this pull request as ready for review May 20, 2026 12:24
@shawkins
shawkins requested review from a team as code owners May 20, 2026 12:24
@vmuzikar
vmuzikar requested a review from edewit May 20, 2026 13:02
shawkins added 2 commits May 20, 2026 15:26
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@shawkins
Copy link
Copy Markdown
Contributor Author

11.1.1 - can still fail with a 403 during a pnpm build https://github.com/keycloak/keycloak/actions/runs/26185010713/job/77038933331?pr=48975#step:7:1024

11.1.3 - failed for me twice on the same javascript test. I'm unsure if that's related.

@edewit
edewit commented May 21, 2026
Copy link
Copy Markdown
Contributor

how about we check in the generated code and only run it when things have changes? that way the kiota cli doesn't need to be downloaded on each build

@shawkins
shawkins commented May 21, 2026 •
Copy link
Copy Markdown
Contributor Author

how about we check in the generated code and only run it when things have changes? that way the kiota cli doesn't need to be downloaded on each build

@edewit should that be covered under #47999 or here?

EDIT: looks like it will be covered by the other issue.

@vmuzikar
Copy link
Copy Markdown
Contributor

@edewit Can you please review when you get a chance?

@vmuzikar
vmuzikar merged commit 30a97da into keycloak:main May 26, 2026
148 of 150 checks passed
@stianst stianst mentioned this pull request Jun 1, 2026
edewit added a commit to edewit/keycloak that referenced this pull request Jun 1, 2026
The pnpm 11 upgrade (keycloak#48975) added security floor overrides for several
transitive dependencies. Re-testing shows most of them are no longer
needed: pnpm already resolves to patched versions without forcing them.

Remove overrides that no longer change resolution:
- picomatch@^2, flatted, minimatch@~3, minimatch@~9
- @isaacs/brace-expansion@^5 (unused in the lockfile)
- diff@^4 (already resolves to 4.0.4)

Keep overrides still required because mocha (dev dep of
keycloak-admin-client) would otherwise pull vulnerable versions:
- serialize-javascript: ^7.0.5 (mocha requests ^6.0.2)
- diff@^7: ^8.0.3 (mocha requests ^7.0.0, CVE fix requires >=8.0.3)

Also bump the serialize-javascript floor from ^7.0.3 to ^7.0.5 to
match the fully patched advisory range.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
edewit added a commit to edewit/keycloak that referenced this pull request Jun 2, 2026
The pnpm 11 upgrade (keycloak#48975) added security floor overrides for several
transitive dependencies. Re-testing shows most of them are no longer
needed: pnpm already resolves to patched versions without forcing them.

Remove overrides that no longer change resolution:
- picomatch@^2, flatted, minimatch@~3, minimatch@~9
- @isaacs/brace-expansion@^5 (unused in the lockfile)
- diff@^4 (already resolves to 4.0.4)

Keep overrides still required because mocha (dev dep of
keycloak-admin-client) would otherwise pull vulnerable versions:
- serialize-javascript: ^7.0.5 (mocha requests ^6.0.2)
- diff@^7: ^8.0.3 (mocha requests ^7.0.0, CVE fix requires >=8.0.3)

Also bump the serialize-javascript floor from ^7.0.3 to ^7.0.5 to
match the fully patched advisory range.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
stianst pushed a commit that referenced this pull request Jun 11, 2026
The pnpm 11 upgrade (#48975) added security floor overrides for several
transitive dependencies. Re-testing shows most of them are no longer
needed: pnpm already resolves to patched versions without forcing them.

Remove overrides that no longer change resolution:
- picomatch@^2, flatted, minimatch@~3, minimatch@~9
- @isaacs/brace-expansion@^5 (unused in the lockfile)
- diff@^4 (already resolves to 4.0.4)

Keep overrides still required because mocha (dev dep of
keycloak-admin-client) would otherwise pull vulnerable versions:
- serialize-javascript: ^7.0.5 (mocha requests ^6.0.2)
- diff@^7: ^8.0.3 (mocha requests ^7.0.0, CVE fix requires >=8.0.3)

Also bump the serialize-javascript floor from ^7.0.3 to ^7.0.5 to
match the fully patched advisory range.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
* task: upgrading pnpm to 11.1.3

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* switching to 11.1.1

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
The pnpm 11 upgrade (keycloak#48975) added security floor overrides for several
transitive dependencies. Re-testing shows most of them are no longer
needed: pnpm already resolves to patched versions without forcing them.

Remove overrides that no longer change resolution:
- picomatch@^2, flatted, minimatch@~3, minimatch@~9
- @isaacs/brace-expansion@^5 (unused in the lockfile)
- diff@^4 (already resolves to 4.0.4)

Keep overrides still required because mocha (dev dep of
keycloak-admin-client) would otherwise pull vulnerable versions:
- serialize-javascript: ^7.0.5 (mocha requests ^6.0.2)
- diff@^7: ^8.0.3 (mocha requests ^7.0.0, CVE fix requires >=8.0.3)

Also bump the serialize-javascript floor from ^7.0.3 to ^7.0.5 to
match the fully patched advisory range.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to latest pnpm

4 participants

0