Skip to content

packages/ak-lib: init - #21257

Merged
rissson merged 2 commits into
mainfrom
rust-lib
Mar 31, 2026
Merged

rissson merged 2 commits into
mainfrom
rust-lib

Conversation

@rissson

@rissson rissson commented Mar 30, 2026

Copy link
Copy Markdown
Member

Details

crate for various utilities that will be used throughout other crates


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)

@rissson rissson self-assigned this Mar 30, 2026
@rissson
rissson requested review from a team as code owners March 30, 2026 17:56
@rissson rissson mentioned this pull request Mar 30, 2026
6 tasks
@netlify

netlify Bot commented Mar 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 9e0cf66
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69cab9c8946c5500086b1ba3
😎 Deploy Preview https://deploy-preview-21257--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 Mar 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Comment thread Cargo.toml Resolved
@netlify

netlify Bot commented Mar 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson
rissson requested a review from BeryJu March 30, 2026 18:01
@rissson rissson moved this from Todo to Needs review in authentik Core Mar 30, 2026
@rissson
rissson enabled auto-merge (squash) March 30, 2026 18:07
@codecov

codecov Bot commented Mar 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.79%. Comparing base (20e2d3f) to head (524b788).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
packages/ak-lib/src/lib.rs 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21257      +/-   ##
==========================================
- Coverage   92.80%   92.79%   -0.02%     
==========================================
  Files        1004     1005       +1     
  Lines       57012    57024      +12     
  Branches      425      437      +12     
==========================================
+ Hits        52912    52916       +4     
- Misses       4100     4108       +8     
Flag Coverage Δ
conformance 37.19% <ø> (+<0.01%) ⬆️
e2e 42.67% <ø> (ø)
integration 22.12% <ø> (+<0.01%) ⬆️
rust 0.22% <0.00%> (-0.01%) ⬇️
unit 91.83% <ø> (+<0.01%) ⬆️
unit-migrate 91.89% <ø> (+<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.

@rissson rissson mentioned this pull request Mar 30, 2026
6 tasks
@github-actions

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-524b788a3c8fc083713284420baace9c11336d43
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-524b788a3c8fc083713284420baace9c11336d43

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

@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.

LGTM although I'd probably change the name to ak-common or just ak tbh

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Mar 31, 2026
@rissson
rissson merged commit 55e555c into main Mar 31, 2026
104 of 105 checks passed
@rissson
rissson deleted the rust-lib branch March 31, 2026 09:33
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Mar 31, 2026
@rissson

rissson commented Mar 31, 2026

Copy link
Copy Markdown
Member Author

LGTM although I'd probably change the name to ak-common or just ak tbh

I'll open a PR to rename after all the other ones are merged

kensternberg-authentik added a commit that referenced this pull request Apr 8, 2026
* main:
  translate: Updates for project authentik and language fr_FR (#21285)
  packages/django-postgres-cache: rework to use ORM (#17771)
  providers/saml: Fix redirect for saml slo (#21258)
  core: fix provider not nullable (#21275)
  website/docs: ad source: add note about ldap signing (#21274)
  website/api: update API clients doc (#21202)
  ci: bump taiki-e/install-action from 2.70.2 to 2.70.3 in /.github/actions/setup (#21267)
  lifecycle/aws: bump aws-cdk from 2.1114.1 to 2.1115.0 in /lifecycle/aws (#21265)
  core, web: update translations (#21264)
  packages/ak-lib: init (#21257)
  website/docs: document group_uuid as a property for group object (#20865)
  web/flow: extract lifecycle events peripheral to stage management into their own controllers (#20898)
  core: bump pygments from 2.19.2 to 2.20.0 (#21260)
  website/docs: add grafana dashboard (#21254)
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
* packages/ak-lib: init

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

* fixup

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

---------

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
* packages/ak-lib: init

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

* fixup

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

---------

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