Skip to content

internal: run server and new worker when using ak server in debug mode #15825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Jul 28, 2025

Details

Also changes the PID file behaviour to only generate the name and let the application create the file


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@BeryJu BeryJu requested review from a team as code owners July 28, 2025 15:40
Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 3f72247
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6899d175f19d500008e8d1e5

Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 3f72247
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6899d17525459500081c83f6

Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for authentik-integrations canceled.

Name Link
🔨 Latest commit 3f72247
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6899d1756f6a9c000839dd91

Copy link

codecov bot commented Jul 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.84%. Comparing base (0e5d1c2) to head (3f72247).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15825      +/-   ##
==========================================
+ Coverage   92.78%   92.84%   +0.06%     
==========================================
  Files         836      836              
  Lines       45154    45154              
==========================================
+ Hits        41894    41922      +28     
+ Misses       3260     3232      -28     
Flag Coverage Δ
e2e 46.69% <ø> (+0.08%) ⬆️
integration 23.58% <ø> (+<0.01%) ⬆️
unit 90.91% <ø> (+<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.

Copy link
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-5c286b8a8927ebbc553fd926425b0ccf91c84100
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-5c286b8a8927ebbc553fd926425b0ccf91c84100

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

Copy link
Member

@rissson rissson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apart from the --watch thing, LGTM.

Do we want to add an option to avoid worker start with debug=true, so that one can still start it manually separately from the server?

BeryJu added 2 commits August 11, 2025 12:00
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the root/worker-and-server branch from 60e2972 to b8da446 Compare August 11, 2025 11:01
BeryJu added 3 commits August 11, 2025 12:07
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
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.

3 participants