Skip to content

api: test action decorator#18583

Merged
BeryJu merged 6 commits intomainfrom
api/test-action-decorator
Dec 4, 2025
Merged

api: test action decorator#18583
BeryJu merged 6 commits intomainfrom
api/test-action-decorator

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Dec 3, 2025

test permission_classes and authentication_classes automatically

@BeryJu BeryJu requested a review from a team as a code owner December 3, 2025 18:20
@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 5aa854a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69317739c36179000845b95d

@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 5aa854a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69317739ded13d0008155999

@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for authentik-integrations canceled.

Name Link
🔨 Latest commit 5aa854a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69317739b319280008152df3

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 94.73684% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.24%. Comparing base (e2df658) to head (5aa854a).
⚠️ Report is 22 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/api/authentication.py 91.66% 4 Missing ⚠️
...ntik/enterprise/endpoints/connectors/agent/auth.py 88.23% 4 Missing ⚠️
authentik/tenants/api/tenants.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18583   +/-   ##
=======================================
  Coverage   93.23%   93.24%           
=======================================
  Files         932      933    +1     
  Lines       51095    51146   +51     
=======================================
+ Hits        47640    47689   +49     
- Misses       3455     3457    +2     
Flag Coverage Δ
e2e 44.77% <33.91%> (-0.01%) ⬇️
integration 22.77% <4.09%> (-0.02%) ⬇️
unit 91.45% <94.73%> (+<0.01%) ⬆️
unit-migrate 91.50% <94.73%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BeryJu BeryJu force-pushed the api/test-action-decorator branch from f772853 to c2097f5 Compare December 3, 2025 21:28
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>

# Conflicts:
#	authentik/enterprise/endpoints/connectors/agent/auth.py
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the api/test-action-decorator branch from fe1eee6 to e81fa50 Compare December 3, 2025 23:10
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the api/test-action-decorator branch from 314fc40 to 514524a Compare December 4, 2025 00:24
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

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-5aa854a01f11d99fcdb2754bac15b770e478edc3
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-5aa854a01f11d99fcdb2754bac15b770e478edc3

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

@BeryJu BeryJu merged commit 0fa412e into main Dec 4, 2025
98 checks passed
@BeryJu BeryJu deleted the api/test-action-decorator branch December 4, 2025 15:44
kensternberg-authentik added a commit that referenced this pull request Dec 11, 2025
* main: (40 commits)
  enterprise/stages/mtls: fix traefik certificate parsing (#18607)
  wed/admin: change s to S in "Stage" (#18632)
  flows: refresh unauthenticated tabs (#18621)
  flows: keep ?next url when using cancel (#18619)
  core, web: update translations (#18620)
  ci: bump actions/setup-node from 6.0.0 to 6.1.0 (#18552)
  core: bump goauthentik/fips-debian from `cf233be` to `a80dbbd` (#18594)
  web: bump @sentry/browser from 10.28.0 to 10.29.0 in /web in the sentry group across 1 directory (#18623)
  website/docs: adds note about ak_create_jwt function (#18614)
  api: fix IPC auth (#18612)
  web: bump mermaid from 11.12.1 to 11.12.2 in /web (#18602)
  web: Codemirror fixes (#18610)
  web: bump packages in /web (#18604)
  website/docs: expressions: fix markdown (#18613)
  website/docs: add missing API sidebar entry (#18586)
  web: bump yaml from 2.8.1 to 2.8.2 in /web (#18605)
  web/elements: update AppIcon story with files change (#18608)
  api: test action decorator (#18583)
  crypto: separate permissions for certificate and private keydownload (#18588)
  core: bump github.com/spf13/cobra from 1.10.1 to 1.10.2 (#18592)
  ...
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.

1 participant