Repository navigation
core: Make Application List cache timeout a configurable option - #26596
Conversation
… 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?
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Installation instructionsInstructions for docker-composeAdd the following block to your 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)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-ed2ac6e88e03e0856b38bf44edfa575aac228b36Afterwards, run the upgrade commands from the latest release notes. Playwright e2eDownload 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]>
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
* 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) ...
What
Adds a new entry to
default.yml:cache.timeout_application_policies.Modifies
core/api/applications.pyto apply use the timeout. Supplies a default if the value is missing fromdefault.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