Skip to content

root: introduce allinone mode#21990

Merged
rissson merged 5 commits intomainfrom
allinone
May 4, 2026
Merged

root: introduce allinone mode#21990
rissson merged 5 commits intomainfrom
allinone

Conversation

@rissson
Copy link
Copy Markdown
Member

@rissson rissson commented Apr 30, 2026

Details

Specifically designed for development. Stuff that changed:

  • ak allinone start the rust binary, which in turns runs the go server (after compiling it) and the worker.
  • in allinone mode, no healthcheck nor metrics are handled by the worker, but that's fine for development
  • make run will start the allinone mode
  • make run-watch will do the same, but with watchexec to reload on go/rust/python code changes
  • allow_failure has been removed from the axum server helpers, and has been replaced by a guard struct that will remove the unix socket we opened were we to crash somewhere

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 and clients have been updated (make gen)

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)

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@rissson rissson self-assigned this Apr 30, 2026
@rissson rissson requested a review from a team as a code owner April 30, 2026 14:02
@rissson rissson requested review from a team as code owners April 30, 2026 14:02
rissson added 3 commits April 30, 2026 16:02
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@rissson rissson requested a review from a team as a code owner April 30, 2026 14:05
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit f662620
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69f8a4d96920650008bf875a
😎 Deploy Preview https://deploy-preview-21990--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
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 90051f6
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69f3612549db1c0008d45740
😎 Deploy Preview https://deploy-preview-21990--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.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f662620
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69f8a4d9076e5c0008766816
😎 Deploy Preview https://deploy-preview-21990--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
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 0% with 81 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.13%. Comparing base (aaba353) to head (f662620).
⚠️ Report is 47 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/server/mod.rs 0.00% 67 Missing ⚠️
src/main.rs 0.00% 7 Missing ⚠️
src/metrics/mod.rs 0.00% 6 Missing ⚠️
src/worker/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21990      +/-   ##
==========================================
- Coverage   93.18%   93.13%   -0.06%     
==========================================
  Files        1017     1024       +7     
  Lines       58397    59251     +854     
  Branches      331      400      +69     
==========================================
+ Hits        54418    55181     +763     
- Misses       3979     4070      +91     
Flag Coverage Δ
conformance 36.60% <ø> (+0.06%) ⬆️
e2e 42.10% <ø> (-0.31%) ⬇️
integration 33.30% <ø> (-0.21%) ⬇️
rust 0.00% <0.00%> (ø)
unit 92.09% <ø> (+0.08%) ⬆️
unit-migrate 92.11% <ø> (+0.06%) ⬆️

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.

@rissson rissson moved this from Todo to Needs review in authentik Core Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

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-f6626201b395c26390e965c65a6809105eec6f25
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-f6626201b395c26390e965c65a6809105eec6f25

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

Comment thread website/docs/developer-docs/setup/full-dev-environment.mdx Outdated
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core May 4, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit f662620
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69f8a4d920946a000814e547
😎 Deploy Preview https://deploy-preview-21990--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.

@rissson rissson merged commit ba62507 into main May 4, 2026
112 of 113 checks passed
@rissson rissson deleted the allinone branch May 4, 2026 14:43
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants