Skip to content

root: in-process per-IP rate throttle (#23015) (2026.2) - #23774

Merged
BeryJu merged 1 commit into
version-2026.2from
manual-cp-23015
Jul 7, 2026
Merged

BeryJu merged 1 commit into
version-2026.2from
manual-cp-23015

Conversation

@gergosimonyi

Copy link
Copy Markdown
Member

route DRF anonymous throttle through a per-worker LocMem cache

Co-authored-by: Simonyi Gergő <[email protected]>
@gergosimonyi
gergosimonyi requested a review from a team as a code owner July 6, 2026 14:11
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

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

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f37fbbe
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a4bb7940f83910008836f02
😎 Deploy Preview https://deploy-preview-23774--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 Jul 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.50%. Comparing base (01eda7a) to head (f37fbbe).
⚠️ Report is 2 commits behind head on version-2026.2.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.2   #23774      +/-   ##
==================================================
+ Coverage           93.47%   93.50%   +0.02%     
==================================================
  Files                 985      987       +2     
  Lines               55984    56010      +26     
==================================================
+ Hits                52331    52372      +41     
+ Misses               3653     3638      -15     
Flag Coverage Δ
conformance 36.89% <15.38%> (-0.01%) ⬇️
e2e 42.61% <15.38%> (-0.02%) ⬇️
integration 22.01% <15.38%> (-0.01%) ⬇️
unit 91.81% <100.00%> (+<0.01%) ⬆️
unit-migrate 91.85% <100.00%> (+0.02%) ⬆️

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.

@rissson

rissson commented Jul 6, 2026

Copy link
Copy Markdown
Member

given that this is a change in behaviour, I'd be against cherry-picking it

@gergosimonyi gergosimonyi changed the title root: in-process per-IP rate throttle (#23015) root: in-process per-IP rate throttle (#23015) (2026.2) Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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

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

@rissson

rissson commented Jul 6, 2026

Copy link
Copy Markdown
Member

given that this is a change in behaviour, I'd be against cherry-picking it

actually, since the throttling options aren't documented, I'm ok with this

@BeryJu
BeryJu merged commit 2fc63cf into version-2026.2 Jul 7, 2026
92 checks passed
@BeryJu
BeryJu deleted the manual-cp-23015 branch July 7, 2026 11:46
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.

4 participants