Skip to content

root: rewrite server in rust - #24320

Merged
rissson merged 32 commits into
mainfrom
rust-server2
Jul 29, 2026
Merged

rissson merged 32 commits into
mainfrom
rust-server2

Conversation

@rissson

@rissson rissson commented Jul 23, 2026

Copy link
Copy Markdown
Member

Details

What does this PR change?

Why is this change needed?

How was this tested?

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

Stack created with GitHub Stacks CLI • Give Feedback 💬

@rissson
rissson requested a review from a team as a code owner July 23, 2026 13:26
@rissson
rissson requested review from a team as code owners July 23, 2026 13:27
@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 25654c6
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a6216a2cedab70008998442
😎 Deploy Preview https://deploy-preview-24320--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.

@rissson
rissson marked this pull request as draft July 23, 2026 13:29
@codecov

codecov Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0.62112% with 800 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.17%. Comparing base (0466124) to head (ffa359a).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/server/core.rs 0.00% 260 Missing ⚠️
src/server/static.rs 0.00% 158 Missing ⚠️
src/server/mod.rs 0.00% 151 Missing ⚠️
src/brands/tls.rs 0.00% 76 Missing ⚠️
src/server/tls.rs 0.00% 63 Missing ⚠️
src/outpost/proxy/mod.rs 0.00% 38 Missing ⚠️
src/outpost/event.rs 0.00% 17 Missing ⚠️
src/outpost/proxy/application/mod.rs 0.00% 11 Missing ⚠️
src/metrics/mod.rs 0.00% 9 Missing ⚠️
src/worker/mod.rs 0.00% 7 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24320      +/-   ##
==========================================
- Coverage   92.11%   91.17%   -0.94%     
==========================================
  Files        1114     1118       +4     
  Lines       68863    69573     +710     
  Branches     3023     3733     +710     
==========================================
+ Hits        63435    63436       +1     
- Misses       5393     6102     +709     
  Partials       35       35              
Flag Coverage Δ
conformance 35.29% <40.00%> (ø)
e2e 40.15% <40.00%> (ø)
integration 31.89% <40.00%> (ø)
rust 37.34% <0.00%> (-8.78%) ⬇️
unit 92.84% <100.00%> (+<0.01%) ⬆️
unit-migrate 92.87% <100.00%> (+<0.01%) ⬆️

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.

@netlify

netlify Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 192e010
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a6a165edcc71f00084ca104
😎 Deploy Preview https://deploy-preview-24320--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 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 192e010
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a6a165e850cd20008b7f1bb
😎 Deploy Preview https://deploy-preview-24320--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.

@rissson
rissson marked this pull request as ready for review July 27, 2026 14:49
@rissson rissson self-assigned this Jul 27, 2026
@rissson rissson moved this from Todo to Needs review in authentik Core Jul 27, 2026
@github-actions

github-actions Bot commented Jul 27, 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-ffa359aeef3c6c3eb099b3b89a9fc611836639d1
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-ffa359aeef3c6c3eb099b3b89a9fc611836639d1

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

@rissson
rissson removed the request for review from a team July 28, 2026 16:07

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Couple questions, couple ideas, lgtm

Comment thread .github/workflows/ci-main.yml Resolved
Comment thread authentik/root/monitoring.py Resolved
Comment thread src/server/core.rs Resolved
Comment thread src/server/mod.rs Resolved
Comment thread src/server/static.rs Resolved
Comment thread src/server/static.rs Resolved
@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Jul 28, 2026
rissson added 14 commits July 29, 2026 17:03
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Base automatically changed from rust-proxy to main July 29, 2026 16:10
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson rissson mentioned this pull request Jul 29, 2026
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants