Skip to content

enterprise: optimize middleware - #27015

Merged
BeryJu merged 2 commits into
mainfrom
enterprise/optimize-middleware
Oct 20, 2026
Merged

BeryJu merged 2 commits into
mainfrom
enterprise/optimize-middleware

Conversation

@BeryJu

@BeryJu BeryJu commented Oct 19, 2026

Copy link
Copy Markdown
Member

avoid re-resolving the URL

@BeryJu
BeryJu added this pull request to stack #27016 October 19, 2026 12:54
@BeryJu
BeryJu requested a review from a team as a code owner October 19, 2026 12:54
@netlify

netlify Bot commented Oct 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 82fc81a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad612ed57ed897ce13911a5
😎 Deploy Preview https://deploy-preview-27015--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.

@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.87500% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.36%. Comparing base (a749575) to head (476283d).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/enterprise/middleware.py 96.87% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #27015   +/-   ##
=======================================
  Coverage   92.36%   92.36%           
=======================================
  Files        1188     1188           
  Lines       80005    80024   +19     
  Branches     4351     4351           
=======================================
+ Hits        73893    73912   +19     
  Misses       6046     6046           
  Partials       66       66           
Flag Coverage Δ
conformance 32.31% <96.87%> (+0.02%) ⬆️
e2e 37.00% <96.87%> (+0.01%) ⬆️
integration 29.20% <87.50%> (+0.02%) ⬆️
rust 44.42% <ø> (ø)
unit 94.01% <96.87%> (+<0.01%) ⬆️
unit-migrate 94.01% <96.87%> (+<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 19, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

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

gh run download 39344109524 -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-476283dde7aae39bc9ca39454f1ab58a514d00f0
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-476283dde7aae39bc9ca39454f1ab58a514d00f0

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

@BeryJu
BeryJu force-pushed the enterprise/optimize-middleware branch from 39c76fa to 24e1ee0 Compare October 19, 2026 14:10
Base automatically changed from pg-jti-off to main October 19, 2026 14:45
@BeryJu
BeryJu requested a review from a team as a code owner October 19, 2026 14:45
@BeryJu
BeryJu force-pushed the enterprise/optimize-middleware branch from 24e1ee0 to 7e80e43 Compare October 19, 2026 14:45
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu force-pushed the enterprise/optimize-middleware branch from 7e80e43 to 476283d Compare October 19, 2026 23:51
@BeryJu
BeryJu merged commit a645862 into main Oct 20, 2026
147 checks passed
@BeryJu
BeryJu deleted the enterprise/optimize-middleware branch October 20, 2026 10:54
kensternberg-authentik added a commit that referenced this pull request Oct 21, 2026
* main: (27 commits)
  lib/tracing: fix sentry tracing when otel is enabled (#27066)
  website/integrations: audiobookshelf: Fix Post Logout URI (#27074)
  web/user: fix agents tab flashing without license (#27069)
  root: bump cert-related deps due to emudhra (#27068)
  web: fix table fetch races and search select e2e lookups (#27059)
  core: bump astral-sh/uv from 0.13.1 to 0.13.3 in /lifecycle/container (#27037)
  policies: fix warning from setting non-string tracing data (#27062)
  root: annotate hot paths (#27052)
  website/docs: contributing: add guidelines for vendor contributions (#27032)
  providers/saml: Add ability to select encryption algorithm (#27009)
  lib: set postgres timezone on connection (#27053)
  core: add postgres connection info (#27024)
  ci: fix cargo deny for basic-toml (#27054)
  web/elements: keep ak-array-input edits through form submission (#27045)
  enterprise: optimize middleware (#27015)
  core: bump goauthentik/platform-ssh from 26.04-ak-0.72.0 to 26.04-ak-0.72.1 in /tests/e2e (#27038)
  core: bump ruff from 0.16.10 to 0.17.0 (#27044)
  core: bump sentry-sdk from 2.71.0 to 2.72.0 (#27043)
  core: bump django-postgres-extra from 3.0.0 to 3.0.1 (#27042)
  core: bump python-kadmin-rs from 0.7.4 to 0.7.5 (#27040)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (21 commits)
  policies: fix warning from setting non-string tracing data (#27062)
  root: annotate hot paths (#27052)
  website/docs: contributing: add guidelines for vendor contributions (#27032)
  providers/saml: Add ability to select encryption algorithm (#27009)
  lib: set postgres timezone on connection (#27053)
  core: add postgres connection info (#27024)
  ci: fix cargo deny for basic-toml (#27054)
  web/elements: keep ak-array-input edits through form submission (#27045)
  enterprise: optimize middleware (#27015)
  core: bump goauthentik/platform-ssh from 26.04-ak-0.72.0 to 26.04-ak-0.72.1 in /tests/e2e (#27038)
  core: bump ruff from 0.16.10 to 0.17.0 (#27044)
  core: bump sentry-sdk from 2.71.0 to 2.72.0 (#27043)
  core: bump django-postgres-extra from 3.0.0 to 3.0.1 (#27042)
  core: bump python-kadmin-rs from 0.7.4 to 0.7.5 (#27040)
  core: bump goauthentik/selenium from 152.0-ak-0.72.0 to 152.0-ak-0.72.1 in /tests/e2e (#27039)
  core: bump aiohttp from 3.14.3 to 3.14.4 (#27034)
  web/flow: fix remember-me being cleared by CSRF token rotation (#25205)
  web/theme: Remove the categories build from the theme (#26982)
  core: bump library/golang from `2f84bc9` to `4766793` in /lifecycle/container (#26996)
  providers/saml: verify logoutrequest/response signatures (#26534)
  ...
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.

2 participants