Skip to content

core: Make Application List cache timeout a configurable option - #26596

Merged
BeryJu merged 2 commits into
mainfrom
web/policies/put-app-cache-clear-timeout-in-defaults
Oct 2, 2026
Merged

BeryJu merged 2 commits into
mainfrom
web/policies/put-app-cache-clear-timeout-in-defaults

Conversation

@kensternberg-authentik

Copy link
Copy Markdown
Contributor

What

Adds a new entry to default.yml: cache.timeout_application_policies.

Modifies core/api/applications.py to apply use the timeout. Supplies a default if the value is missing from default.yml.

Updates the Installation and Configuration documentation to describe the new field.

Why

Answering issue #26279: @BeryJu suggested: “A better option would including making the default cache duration shorter.” So why not make it configurable?

Supersedes #26552.


Checklist

  • [🐋] The project has been linted, built, and tested (make all)
  • [🐋] The documentation has been updated and formatted (make docs)
  • [🐋] I have read the AI usage policy.

… option

## What

Adds a new entry to `default.yml`: `cache.timeout_application_policies`.

Modifies `core/api/applications.py` to apply use the timeout. Supplies a default if the value is missing from `default.yml`.

Updates the *Installation and Configuration* documentation to describe the new field.

## Why

Answering issue \#26279: @BeryJu suggested: “A better option would including making the default cache duration shorter.” So why not make it configurable?
@netlify

netlify Bot commented Sep 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

@kensternberg-authentik
kensternberg-authentik marked this pull request as ready for review September 30, 2026 20:59
@codecov

codecov Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.30%. Comparing base (67d2c01) to head (ed2ac6e).
⚠️ Report is 39 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26596      +/-   ##
==========================================
+ Coverage   92.26%   92.30%   +0.04%     
==========================================
  Files        1171     1175       +4     
  Lines       77218    77653     +435     
  Branches     4129     4129              
==========================================
+ Hits        71246    71680     +434     
- Misses       5906     5907       +1     
  Partials       66       66              
Flag Coverage Δ
conformance 32.98% <50.00%> (-0.10%) ⬇️
e2e 37.78% <100.00%> (-0.12%) ⬇️
integration 29.76% <50.00%> (-0.10%) ⬇️
rust 46.45% <ø> (ø)
unit 93.72% <100.00%> (+0.04%) ⬆️
unit-migrate 93.72% <100.00%> (+0.04%) ⬆️

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 Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ed2ac6e88e03e0856b38bf44edfa575aac228b36
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-ed2ac6e88e03e0856b38bf44edfa575aac228b36

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

Playwright e2e

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

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

Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Oct 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit ed2ac6e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6abfd8d11a24fd0008bb5a6c
😎 Deploy Preview https://deploy-preview-26596--authentik-integrations.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 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit ed2ac6e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6abfd8d1058ba400095d3a17
😎 Deploy Preview https://deploy-preview-26596--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.

@BeryJu BeryJu changed the title core/applications: Make Application List cache timeout a configurable option core: Make Application List cache timeout a configurable option Oct 2, 2026
@BeryJu
BeryJu merged commit 5fd2c03 into main Oct 2, 2026
145 of 146 checks passed
@BeryJu
BeryJu deleted the web/policies/put-app-cache-clear-timeout-in-defaults branch October 2, 2026 16:48
kensternberg-authentik added a commit that referenced this pull request Oct 2, 2026
* main: (30 commits)
  core: bump goauthentik/fips-python from 3.14.7-slim-trixie-fips to 3.14.8-slim-trixie-fips in /lifecycle/container (#26647)
  core: bump opentelemetry-propagator-b3 from 1.44.0 to 1.45.0 in the opentelemetry group (#26649)
  core: bump uvicorn[standard] from 0.53.0 to 0.54.0 (#26650)
  web: bump the website-build group across 1 directory with 3 updates (#26654)
  web: bump cspell from 10.3.0 to 10.3.6 (#26655)
  web: bump yaml from 2.9.0 to 2.9.1 (#26656)
  web: bump aws-cdk from 2.1141.0 to 2.1143.0 (#26658)
  web: bump deepmerge-ts from 8.0.0 to 8.0.2 (#26659)
  core: split users list superuser annotation in API into two EXISTS subqueries (#26275)
  core: Make Application List cache timeout a configurable option (#26596)
  web/admin: show expiry in bound policies list (#26665)
  policies: remove expensive query (#26666)
  web, website: bump the oxc group (#26627)
  core, web: update Russian translations (#26624)
  core, web: update translations (#26622)
  enterprise/requests: show message after successful request (#26587)
  ci: test on ubuntu 26 (#26266)
  core: bump goauthentik/fips-python from `9bee9dc` to `52f9db6` in /lifecycle/container (#26631)
  core: bump astral-sh/uv from 0.12.21 to 0.12.22 in /lifecycle/container (#26632)
  ci: bump taiki-e/install-action from 2.87.21 to 2.87.22 in /.github/actions/setup (#26636)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants