Skip to content

flows: avoid saving plan history when inspector inaccessible - #27089

Merged
BeryJu merged 2 commits into
mainfrom
flows/avoid-saving-history
Oct 22, 2026
Merged

BeryJu merged 2 commits into
mainfrom
flows/avoid-saving-history

Conversation

@BeryJu

@BeryJu BeryJu commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

currently we always save the history, even when the user cannot possibly access the inspector

this might change in the future when flow storage is moved to a separate table, but we should be able to figure out some solution

image

@netlify

netlify Bot commented Oct 21, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 2730d67
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad8b11b0f327c0dfed1da99
😎 Deploy Preview https://deploy-preview-27089--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 21, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.34%. Comparing base (052edb7) to head (7d5ab3f).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/flows/models.py 85.71% 1 Missing ⚠️
authentik/flows/views/inspector.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27089      +/-   ##
==========================================
- Coverage   92.37%   92.34%   -0.03%     
==========================================
  Files        1189     1189              
  Lines       80134    80139       +5     
  Branches     4351     4351              
==========================================
- Hits        74022    74006      -16     
- Misses       6046     6067      +21     
  Partials       66       66              
Flag Coverage Δ
conformance 32.31% <72.72%> (+<0.01%) ⬆️
e2e 36.97% <72.72%> (-0.03%) ⬇️
integration 28.83% <18.18%> (-0.37%) ⬇️
rust 44.42% <ø> (ø)
unit 94.02% <81.81%> (+<0.01%) ⬆️
unit-migrate 94.02% <81.81%> (+<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 39603955771 -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-7d5ab3fc2ae021a86c24d94956247e64afb49c44
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-7d5ab3fc2ae021a86c24d94956247e64afb49c44

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

Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu merged commit adfca03 into main Oct 22, 2026
146 of 147 checks passed
@BeryJu
BeryJu deleted the flows/avoid-saving-history branch October 22, 2026 10:41
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
…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)
  ...
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant