Repository navigation
chore(deps): clear Renovate backlog — security fixes, non-major updates, account UI 260700 - #194
Merged
Merged
Conversation
blarghmatey
force-pushed
the
deps/updates-2026-08
branch
3 times, most recently
from
August 20, 2026 13:05
45c6653 to
86643ec
Compare
…ccess Two advisories, both resolved without a major upgrade. GHSA-p63j-vcc4-9vmv (CVSS 9.4) affects @vitest/browser < 4.1.10 only; vitest and @vitest/coverage-v8 move with it to keep the trio in lockstep. GHSA-jjmj-jmhj-qwj2 (CVSS 6.9) hits two copies of react-router. The direct dependency needed no v7 migration: react-router 6.30.5 backported the fix (#15410) and the advisory's vulnerable range ends at 6.30.4, so resolving ^6.30.3 to 6.30.6 clears it while still satisfying the ^6.30.3 peer that @keycloakify/keycloak-account-ui pins. Renovate's #175 proposed v7 instead, which sync-extensions reverts on every install. The second copy comes in through jsx-email, which pins react-router-dom to exactly 7.12.0 with no fixed release upstream. A scoped resolution forces that path to 7.18.2, past the 7.13.0 fix, without touching the v6 tree the account UI compiles against.
Runtime: keycloakify 11.15.14, react/react-dom 19.2.8, @mitodl/smoot-design 6.33.1, posthog-js 1.418.1. Dev: biome 2.5.9, storybook family 10.5.9, @chromatic-com/storybook 5.3.0, @types/react 19.2.18, @types/react-dom 19.2.4, keycloakify-emails 3.4.0, playwright 1.62.1, vite 8.2.1. Verified with typecheck, biome, the keycloak theme build, and a storybook build, since the storybook 10.4 to 10.5 minor is the one with real surface area and CI publishes it. Three otherwise-eligible bumps are held back by the repo's 24h npmMinimalAgeGate rather than by any incompatibility: storybook 10.5.10, vite 8.2.2, and @vitejs/plugin-react 6.1.0. They will pass the gate on their own and can go in the next pass. @types/node v26 and typescript v7 are left for separate evaluation; both are majors.
Moves @keycloakify/keycloak-account-ui and @keycloakify/keycloak-ui-shared off the 260601 line together, since account-ui pins ui-shared exactly and neither can move alone. sync-extensions propagates the rest of the pinned chain on install, which is why this one bump also rewrites @keycloak/keycloak-admin-client to 26.7.0, oidc-spa to ~10.2.10, and react-router-dom to ^6.30.4. Those three are not independent choices; the postinstall hook derives them from the installed account UI version and reverts anything set by hand. The generated tree under src/account and src/shared is gitignored, so the only tracked effects are the two .gitignore manifests. 260700 adds the verifiable-credentials pages, passkey vendor icons, Vietnamese messages, and an /account/index.ts, and it drops oid4vci/Oid4Vci.tsx. Verified by deleting the generated directories and re-running sync-extensions from scratch, so the result reflects a fresh checkout rather than a stale local tree carrying the removed oid4vci file. Typecheck, biome, and the theme build pass on that regenerated tree. Renovate raised this as #191 and #192 separately, which cannot land independently, and #147 wants admin-client 26.7.1 that ui-shared 260700 will not accept.
actions/setup-node to v7.0.0 and softprops/action-gh-release to v3.0.2, both repinned by commit SHA. setup-node v7 is a major, but its breaking change is dropping the dummy NODE_AUTH_TOKEN export alongside an ESM migration; all three call sites here pass only node-version and cache settings and none use registry-url or npm auth, so nothing depends on what was removed. This makes Renovate's #183 (v6.5.0) redundant. zizmor reports the same 11 findings with the same severity breakdown as main, so the repins introduce nothing new. Yarn 4.18.0 renormalizes yarn.lock. CI installs with --immutable, so that rewrite has to be committed here or the build fails on a lockfile it would have modified. That also covers the lock file maintenance in #152. @types/node is deliberately left on 24.x: CI pins node-version to ^24.0.0, and the v26 line in #184 would declare APIs the runtime does not have.
We deploy Keycloak 26 exclusively (Dockerfile.hosted pins the 26.6 base, KEYCLOAK_VERSION is 26.7.2), so the 22-to-25 target was building an artifact for a range we do not run. Unpacking both jars shows their theme/ trees are byte-for-byte identical. The 22-to-25 jar differs only by bundling a LoginFormsProviderFactory shim (dev.jcputney.keycloak-theme-additional-info-extension) that backfills template data Keycloak 26 supplies natively. The theme Keycloak serves is therefore unchanged by this; the only thing dropped is that shim. Removing it is safe for the login provider: Dockerfile.hosted selects --spi-login--provider=ol-freemarker, which is registered by ol-keycloak's own OLFreeMarkerLoginFormsProviderFactory in the separately published ol-spi jar. That class extends Keycloak's FreeMarkerLoginFormsProviderFactory and has no reference to the jcputney classes, so nothing depended on the shim being present. The release glob has to move with this. It matched dist_keycloak/keycloak-theme-*.jar, and the sole remaining target is named in vite.config.ts as keycloakify-theme_v11-21_and_v26plus.jar, which does not carry keycloakify's default prefix. Left alone, the release would attach zero assets and the Concourse pipeline that copies every asset into plugins/ would build an image with no theme. Matching *.jar keeps that working and does not need revisiting if the target is renamed again. The consumer is unaffected structurally: the release still carries exactly one jar, as every release so far has.
Cuts a release carrying the react-router and @vitest/browser advisory fixes and the 260700 account UI, rather than leaving them to wait for whatever release comes next.
blarghmatey
force-pushed
the
deps/updates-2026-08
branch
from
August 20, 2026 14:15
86643ec to
a59748a
Compare
blarghmatey
added a commit
that referenced
this pull request
Aug 20, 2026
### What are the relevant tickets? N/A — Renovate #190. ### Description (What does it do?) Updates `typescript` 5.9.3 → 7.0.2. Split out of #194 so the security fixes there were not gated on reviewing a compiler rewrite, and so this stays revertable on its own. #194 has merged, so this is now a single-commit branch off `main` touching only `package.json` and `yarn.lock`. There is no 6.x to step through: TypeScript 6.0 is published only under the `beta` dist-tag, so 7.0 is the supported next stable. 7.0.2 is the native Go port rather than an ordinary compiler bump, so it was tested rather than assumed. `typescript` is a devDependency. It affects compilation only and is not part of the shipped theme jar, so no version bump or release accompanies this. #### Risk assessment Two known limitations of the native port, from [Announcing TypeScript 7.0](https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/): **No public compiler API in 7.0.** Any tool consuming the programmatic TypeScript API cannot run on 7.0; a new API is planned for 7.1. This repo pulls in `react-docgen-typescript` (via `@joshwooding/vite-plugin-react-docgen-typescript`), which is exactly such a tool. It does not bite here because Storybook's default is the Babel-based `react-docgen`, not the TypeScript-API variant. Confirmed empirically rather than assumed: the built Storybook emits **101 `__docgenInfo` entries under both 5.9.3 and 7.0.2**. Both builds were run and the counts compared, so docgen is not silently degrading. This is the thing to watch. Setting `typescript: { reactDocgen: 'react-docgen-typescript' }` in `.storybook/main.ts` will break under 7.0 until the 7.1 API lands. **Legacy targets removed.** Not applicable — `tsconfig.json` targets ES2020. #### Known peer warning `i18next` and `react-i18next` declare `typescript: ^5 || ^6`, so 7.0.2 sits outside it and `yarn install` prints: ``` YN0060: typescript is listed by your project with version 7.0.2, which doesn't satisfy what i18next and other dependencies request (^5.0.0 || ^6.0.0) ``` It is an optional peer, so nothing fails. It means i18next has not validated TypeScript 7, not that it is broken. Type-safety exposure is minimal regardless: the generated i18n files are `@ts-nocheck` and `TFuncKey` is aliased to `any` by keycloakify upstream, so translation keys were never type-checked in this repo. #### Checked surface 38 first-party `.ts`/`.tsx` files, none carrying `@ts-nocheck`, all under `strict` with `noUnusedLocals`, `noUnusedParameters`, and `noFallthroughCasesInSwitch`. Of the 111 generated files, 106 are `@ts-nocheck`. `skipLibCheck` is already enabled, which keeps third-party `.d.ts` differences out of the build. ### How can this be tested? ```bash yarn install --immutable yarn typecheck yarn biome check src/emails/ src/login/ JAVA_HOME=/usr/lib/jvm/default-runtime/ yarn build-keycloak-theme yarn build-storybook ``` All pass locally on this branch. To confirm `tsc` is genuinely analyzing and not silently no-opping under the new compiler, plant a type error and check it is reported: ```bash printf 'const x: number = "nope";\nexport default x;\n' > src/login/__probe.ts yarn typecheck # expect: error TS2322 ... exit 1 rm src/login/__probe.ts ``` This was run; 7.0.2 reported `TS2322` and exited non-zero. To reproduce the docgen comparison: ```bash yarn build-storybook && grep -rho "__docgenInfo" storybook-static/assets/ | wc -l # 101 yarn up typescript@5.9.3 && rm -rf storybook-static yarn build-storybook && grep -rho "__docgenInfo" storybook-static/assets/ | wc -l # 101 git checkout -- package.json yarn.lock && yarn install ``` Not covered: there is no test suite in this repo and CI runs no test step, so nothing was exercised at runtime. Editor/IDE behaviour under the new language server is also unverified — worth a sanity check in your editor before merging, since that is where the ported tooling is most likely to differ. ### Additional Context `skipLibCheck: true` in `tsconfig.json` is doing real work here — it keeps the `^5 || ^6` type definitions from i18next and other dependencies from being checked against the new compiler. Removing it later may surface errors this PR does not.
blarghmatey
added a commit
that referenced
this pull request
Sep 15, 2026
### What are the relevant tickets? N/A. Renovate maintenance, follow-up to #194. ### Description (What does it do?) #147 (`@keycloak/keycloak-admin-client` 26.7.3) and #157 (pin devDependencies) were merged today, but both edit ranges that `keycloakify sync-extensions` owns. The postinstall hook [overwrites every peer of the installed extensions in `package.json`](https://github.com/keycloakify/keycloakify/blob/main/src/bin/sync-extensions/installExtensionModulesPeerDependencies.ts) with the extension's range, skipping only `react` and `@types/react` ([filter](https://github.com/keycloakify/keycloakify/blob/main/src/bin/sync-extensions/extensionModuleMeta.ts)). On `main` at f00e549, a `yarn install` that runs postinstall rewrites `admin-client` back to `26.7.0` and `@types/lodash-es` back to `^4.17.12`, leaving `package.json` and `yarn.lock` dirty. CI stayed green on `main` after both merges, so nothing flagged it. - **Commit the synced state.** `package.json` and `yarn.lock` as `sync-extensions` leaves them. This moves the installed admin-client back from 26.7.3 to 26.7.0. The only runtime change in that range was `decodeToken` tolerating an undefined token (`lib/utils/decode.js`). - **Renovate rule for the peer set.** The 14 peers of `@keycloakify/keycloak-account-ui` 260700.0.3 and `@keycloakify/keycloak-ui-shared` 260700.0.2 (excluding ui-shared itself) get [`rangeStrategy: "in-range-only"`](https://docs.renovatebot.com/configuration-options/#rangestrategy): lockfile updates within the existing range, updates that would edit `package.json` discarded. `update-lockfile` isn't enough, since it falls back to `replace` for out-of-range versions. - **Group account-ui and ui-shared.** account-ui peer-pins ui-shared (`~260700.0.2`), so a bump to either one alone gets reset the same way. In-range lockfile updates like #187 (react-hook-form 7.80 to 7.88) and #186 (posthog-js, not a peer) are still allowed by the rule. Open PRs #107-#111, #133, #134 and #193 cover packages in the rule. ### How can this be tested? Run locally on this branch: - `yarn install --immutable` passes. - `rm -rf node_modules && yarn install --immutable` leaves `git status` clean. - `npx --package renovate -- renovate-config-validator --strict renovate.json`: `Config validated successfully`. - `yarn typecheck` passes. To see the problem on `main`, run `yarn install` from a `node_modules` built for a different dependency tree (so postinstall runs), then `git diff -- package.json`. ### Additional Context - `config:best-practices` extends [`:pinDevDependencies`](https://github.com/renovatebot/renovate/blob/main/lib/config/presets/internal/default.preset.ts), which is what produced #157's `@types/lodash-es` pin. The docs say later `packageRules` override earlier ones; that this repo's rule lands after the extended preset's rule is not verified against a Renovate run. - Not verified: how Renovate treats the already-open PRs covered by the rule once this merges. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0145fE9efjhAWnkyD1Wmn96x --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What are the relevant tickets?
N/A — Renovate backlog maintenance.
Description (What does it do?)
Clears the open Renovate backlog in four commits, ordered security-first. Supersedes or absorbs 15 open Renovate PRs.
Security.
@vitest/browser→ 4.1.11 for GHSA-p63j-vcc4-9vmv (CVSS 9.4);vitestand@vitest/coverage-v8move with it to keep the trio in lockstep. Closes GHSA-jjmj-jmhj-qwj2 (CVSS 6.9, react-router open redirect) on both affected copies — see below.Non-major deps. keycloakify 11.15.14, react/react-dom 19.2.8,
@mitodl/smoot-design6.33.1, posthog-js 1.418.1, biome 2.5.9, storybook 10.5.9, vite 8.2.1, playwright 1.62.1,@types/react19.2.18,@types/react-dom19.2.4, keycloakify-emails 3.4.0,@chromatic-com/storybook5.3.0.Account UI → 260700.
@keycloakify/keycloak-account-uiand@keycloakify/keycloak-ui-sharedtogether, since account-ui pins ui-shared exactly. Adds the verifiable-credentials pages, passkey vendor icons, Vietnamese messages; dropsoid4vci/Oid4Vci.tsx.Actions + Yarn.
actions/setup-nodev7.0.0,softprops/action-gh-releasev3.0.2 (both repinned by SHA), Yarn 4.18.0.Build target. Drops the 22-to-25 Keycloak target; we run 26 exclusively. Details below.
Version bumped to 0.1.6 so the advisory fixes and the new account UI actually ship rather than waiting for the next release.
react-router: v7 is not required
Renovate's #175 proposes
react-router-domv6 → v7. That upgrade is unnecessary and would be reverted on every install by thesync-extensionspostinstall hook, which pins the dependency to^6.30.4.The advisory was backported to the v6 line in 6.30.5, and its vulnerable range ends at
<= 6.30.4. Resolving^6.30.4to 6.30.6 clears the CVE and satisfies the peer pin. Renovate proposes the major because the advisory's v6 entry hasfirstPatchedVersion: null— that field is unpopulated, not an assertion that no fix exists.A second vulnerable copy arrives through
jsx-email, which hard-pinsreact-router-dom@7.12.0(inside the v7 vulnerable range>= 7.9.6, <= 7.12.0) with no fixed release upstream. Handled with a scoped resolution:Both copies now resolve to patched versions (6.30.6 and 7.18.2).
Dropping the 22-to-25 build target
vite.config.tsbuilt two Keycloak version targets. We deploy 26 exclusively —Dockerfile.hostedin ol-keycloak pins the 26.6 base andKEYCLOAK_VERSIONis 26.7.2 — so the 22-to-25 target was producing an artifact for a range we do not run. It is nowfalse, leaving onlyall-other-versions.Unpacking both jars first: their
theme/trees are byte-for-byte identical. The 22-to-25 jar differed only by bundling aLoginFormsProviderFactoryshim (dev.jcputney.keycloak-theme-additional-info-extension, 6 files) that backfills template data Keycloak 26 supplies natively. The theme Keycloak serves is unchanged by this PR — verified by diffing the new jar'stheme/tree against the one currently released. The only thing dropped is that shim.Safe for the login provider:
Dockerfile.hostedselects--spi-login--provider=ol-freemarker, registered by ol-keycloak's ownOLFreeMarkerLoginFormsProviderFactoryin the separately publishedol-spijar. That class extends Keycloak'sFreeMarkerLoginFormsProviderFactoryand has no reference to the jcputney classes, so nothing depended on the shim.The release glob had to move with this. It matched
dist_keycloak/keycloak-theme-*.jar, and the sole remaining target is named invite.config.tsaskeycloakify-theme_v11-21_and_v26plus.jar, which does not carry keycloakify's default prefix. Left alone the release would have attached zero assets, and the Concourse pipeline — which sets noglobsand copies every asset intoplugins/, thenCOPY plugins/*.jarinto/opt/keycloak/providers/— would have built an image with no theme. Now globs*.jar, which also does not need revisiting if the target is renamed again.Net effect for the consumer: still exactly one jar per release, same theme content, minus an SPI that Keycloak 26 does not use.
Why several Renovate PRs cannot be merged
keycloakify sync-extensionsruns on postinstall and rewritespackage.jsonto match the installed@keycloakify/keycloak-account-ui. Anything set by hand in that set is silently reverted. Verified directly by bumping i18next to v26 and watching it revert to^25.7.3.Blocked until a newer account-ui raises its peers: #107–111 (
@patternfly/*v6, pinned^5.4.x), #133 (i18next v26, pinned^25.7.3), #134 (react-i18next v17, pinned^16.5.1), #193 (i18next-fetch-backend v8, pinned^7.0.0), #187 (react-hook-form 7.85, pinned7.70.0exact), #147 (admin-client 26.7.1, pinned26.7.0exact), #157 (pin dependencies, resets@types/lodash-es).Blocked for a different reason: #132 (
@mui/materialv9) —@mitodl/smoot-designpeer-requires@mui/material,@mui/lab, and@mui/systemall at^7.0.0. That is our own package, so this one is unblockable in-house once smoot-design supports MUI 9.Resolved without action: #163 (oidc-spa — sync-extensions raised it to
~10.2.10as part of 260700), #183 (setup-node v6.5.0, superseded by v7), #152 (lock file maintenance, absorbed by the Yarn 4.18 relock).Deliberately excluded:
@types/nodestays on 24.x because both workflows pinnode-version: ^24.0.0; the v26 line in #184 would declare APIs the runtime does not have. TypeScript 7 is split into a follow-up PR.How can this be tested?
Full CI sequence was run locally against this branch and passes:
yarn install --immutable,yarn biome check src/emails/ src/login/,yarn typecheck,yarn build-keycloak-theme(including the Maven jar packaging step), plusyarn build-storybook.To validate the account UI bump specifically, note that
src/account/andsrc/shared/keycloak-ui-shared/are gitignored and regenerated at install time. Stale local files from 260601 will mask a broken fresh build, so reviewers should regenerate rather than trust an existing tree:Confirm the 260700 content reached the packaged theme, not just the TypeScript layer:
Confirm both react-router copies are patched:
Not covered: there is no test suite in this repo and CI runs no test step, so the account console and login pages have not been exercised against a running Keycloak. Rendering behaviour of the new verifiable-credentials pages is unverified.
Additional Context
yarn install --immutablemust stay green. The Yarn 4.18 bump renormalizesyarn.lock; that rewrite is committed here deliberately, or CI fails on a lockfile it would have modified.npmMinimalAgeGate: 1440). Three otherwise-eligible bumps were held back by it, not by any incompatibility: storybook 10.5.10, vite 8.2.2,@vitejs/plugin-react6.1.0. They will pass the gate on their own.