Skip to content

root: require Node.js 24.22.1 - #27093

Merged
BeryJu merged 5 commits into
mainfrom
node/2026-10-21-upgrade
Oct 22, 2026
Merged

BeryJu merged 5 commits into
mainfrom
node/2026-10-21-upgrade

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR raises the minimum Node.js version to the 24.22.1 security release. It fixes five high-severity CVEs in TLS, DNS, and Brotli.

  • Pin .nvmrc to 24.22.1. Require ^24.22.1 || >=26.12.1 in engines.node and devEngines.runtime across every workspace package. This excludes unpatched 25.x and 26.x releases.
  • Teach lint-runtime to check || and ^ ranges.
  • Pin the server and docs build images to node:26.12.1, the matching 26.x security release.
  • Fix the stale # v4 comments on actions/setup-node. The pinned commit is already v7.1.0.

Raise the minimum Node.js version to the 24.22.1 security release
across `.nvmrc`, `engines.node`, and `devEngines.runtime`.

https://nodejs.org/en/blog/release/v24.22.1
Pin both build images to the 26.12.1 security release. The server
image previously floated on the `26-trixie-slim` tag.

https://nodejs.org/en/blog/release/v26.12.1
The pinned commit is already v7.1.0 (#26852, #26854).
@GirlBossRush
GirlBossRush marked this pull request as ready for review October 21, 2026 17:30
@GirlBossRush
GirlBossRush requested review from a team as code owners October 21, 2026 17:30
Check versions against every `||`-separated comparator instead of a single `>=` or exact pin.

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Routine and mechanical, but wow that's a lot of shotgun surgery.

Narrow the engines range to `^24.22.1 || >=26.12.1`. The previous
`>=24.22.1` also accepted 26.12.0 and every 25.x release.
@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.35%. Comparing base (088d72e) to head (7703aeb).
⚠️ Report is 9 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27093      +/-   ##
==========================================
- Coverage   92.38%   92.35%   -0.04%     
==========================================
  Files        1190     1190              
  Lines       80148    80148              
  Branches     4351     4351              
==========================================
- Hits        74043    74017      -26     
- Misses       6039     6065      +26     
  Partials       66       66              
Flag Coverage Δ
conformance 32.30% <ø> (+<0.01%) ⬆️
e2e 36.98% <ø> (+<0.01%) ⬆️
integration 28.83% <ø> (-0.37%) ⬇️
rust 44.42% <ø> (ø)
unit 94.03% <ø> (+<0.01%) ⬆️
unit-migrate 94.03% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 39644924706 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-7703aeb4aadb63457e8db27f6443f3c4537e7d7b
# Distroless image: AUTHENTIK_TAG=gh-7703aeb4aadb63457e8db27f6443f3c4537e7d7b-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-7703aeb4aadb63457e8db27f6443f3c4537e7d7b
        # Distroless image: tag: gh-7703aeb4aadb63457e8db27f6443f3c4537e7d7b-distroless

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fails netlify builds:

6:34:26 PM: Now using node v24.20.0 (npm v11.19.0)
6:34:26 PM: Enabling Node.js Corepack
6:34:26 PM: WARNING: The environment variable 'NODE_ENV' is set to 'production'. Any 'devDependencies' in package.json will not be installed
6:34:27 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
6:34:27 PM: No pnpm workspaces detected
6:34:27 PM: Installing npm packages using pnpm version 12.9.1
6:34:27 PM: Error: ERR_PNPM_BAD_RUNTIME_VERSION
6:34:27 PM: × This project requires Node.js ^24.22.1 || >=26.12.1. Your current Node.js
6:34:27 PM: │ is v24.20.0
6:34:27 PM: help: If you want to bypass this version check, set "runtimeOnFail" to
6:34:27 PM: "warn" or "ignore" (e.g. via --runtime-on-fail=ignore), or set
6:34:27 PM: "devEngines.runtime.onFail"/"engines.runtime.onFail" to "warn" or
6:34:27 PM: "ignore"
6:34:27 PM: Error during pnpm install
6:34:27 PM: Failing build: Failed to install dependencies

@netlify

netlify Bot commented Oct 22, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 7703aeb
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6ada3a14c66bb4176b6ea91e
😎 Deploy Preview https://deploy-preview-27093--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 22, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7703aeb
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ada3a5a70701899335c3216
😎 Deploy Preview https://deploy-preview-27093--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 22, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7703aeb
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ada3b01a683a0919fdb217a
😎 Deploy Preview https://deploy-preview-27093--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@BeryJu
BeryJu merged commit c3b29d2 into main Oct 22, 2026
294 of 295 checks passed
@BeryJu
BeryJu deleted the node/2026-10-21-upgrade branch October 22, 2026 17:03
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
* main: (21 commits)
  root: require Node.js 24.22.1 (#27093)
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  website/docs: add release notes for `2026.8.5` (#27084)
  website/docs: add release notes for `2026.5.8` (#27083)
  core, web: update translations (#27035)
  core: bump twilio from 9.11.2 to 9.12.0 (#27081)
  core: bump cachetools from 7.2.2 to 7.2.3 (#27082)
  core: bump paramiko from 5.0.0 to 5.0.1 (#27080)
  ...
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
* main:
  root: require Node.js 24.22.1 (#27093)
  website/docs: change routing info after 2026.8 changes (#27109)
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
…ts/sidebar-api-disconnect

* web/elements/sidebar-footer-dependency: (27 commits)
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  web/elements: test that ak-mdx does not evaluate API-supplied content (#24524)
  root: require Node.js 24.22.1 (#27093)
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  ...
@GirlBossRush GirlBossRush added backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Oct 30, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.5 has conflicts: #27388

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 has conflicts: #27389

GirlBossRush added a commit that referenced this pull request Oct 30, 2026
GirlBossRush added a commit that referenced this pull request Oct 30, 2026
dewi-tik pushed a commit that referenced this pull request Nov 3, 2026
…27389)

root: require Node.js 24.22.1 (#27093)

Cherry-picked from c3b29d2.

Co-authored-by: Teffen Ellis <[email protected]>
dewi-tik added a commit that referenced this pull request Nov 3, 2026
…27388)

root: require Node.js 24.22.1 (#27093)

Cherry-picked from c3b29d2.

Co-authored-by: Teffen Ellis <[email protected]>
Co-authored-by: Dewi Roberts <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
…single-shadowdom-sidebar

* web/elements/sidebar-api-disconnect: (28 commits)
  Fix some merge issues.
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  web/elements: test that ak-mdx does not evaluate API-supplied content (#24524)
  root: require Node.js 24.22.1 (#27093)
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants