Skip to content

packages/ak-common/config: add set helper for tests - #21356

Merged
rissson merged 1 commit into
mainfrom
rust-config-set
Apr 7, 2026
Merged

rissson merged 1 commit into
mainfrom
rust-config-set

Conversation

@rissson

@rissson rissson commented Apr 2, 2026

Copy link
Copy Markdown
Member

Details

helper for overriding config in tests


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 Apr 2, 2026
@rissson
rissson requested a review from a team as a code owner April 2, 2026 17:09
@rissson rissson moved this to Needs review in authentik Core Apr 2, 2026
rissson added a commit that referenced this pull request Apr 2, 2026
Squashed commit of the following:

commit 1e426a9
Author: Marc 'risson' Schmitt <[email protected]>
Date:   Thu Apr 2 19:09:23 2026 +0200

    packages/ak-common/config: add set helper for tests

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

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

netlify Bot commented Apr 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 1e426a9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69cea2df1991560008f13fbc
😎 Deploy Preview https://deploy-preview-21356--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 added a commit that referenced this pull request Apr 2, 2026
Squashed commit of the following:

commit 1e426a9
Author: Marc 'risson' Schmitt <[email protected]>
Date:   Thu Apr 2 19:09:23 2026 +0200

    packages/ak-common/config: add set helper for tests

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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson rissson mentioned this pull request Apr 2, 2026
@codecov

codecov Bot commented Apr 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.88889% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.44%. Comparing base (111f0c0) to head (2637f51).
⚠️ Report is 46 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
packages/ak-common/src/config/mod.rs 88.88% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21356      +/-   ##
==========================================
- Coverage   92.50%   92.44%   -0.06%     
==========================================
  Files        1013     1013              
  Lines       58165    58185      +20     
  Branches     1494     1514      +20     
==========================================
- Hits        53803    53787      -16     
- Misses       4322     4359      +37     
+ Partials       40       39       -1     
Flag Coverage Δ
conformance 37.16% <ø> (+<0.01%) ⬆️
e2e 42.63% <ø> (+<0.01%) ⬆️
integration 22.08% <ø> (-0.05%) ⬇️
rust 54.22% <88.88%> (+0.67%) ⬆️
unit 91.82% <ø> (ø)
unit-migrate 91.88% <ø> (-0.03%) ⬇️

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.

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Apr 2, 2026
@rissson rissson mentioned this pull request Apr 2, 2026
6 tasks
rissson added a commit that referenced this pull request Apr 7, 2026
Squashed commit of the following:

commit 1e426a9
Author: Marc 'risson' Schmitt <[email protected]>
Date:   Thu Apr 2 19:09:23 2026 +0200

    packages/ak-common/config: add set helper for tests

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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
rissson added a commit that referenced this pull request Apr 7, 2026
Squashed commit of the following:

commit 1e426a9
Author: Marc 'risson' Schmitt <[email protected]>
Date:   Thu Apr 2 19:09:23 2026 +0200

    packages/ak-common/config: add set helper for tests

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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
rissson added a commit that referenced this pull request Apr 7, 2026
Squashed commit of the following:

commit 1e426a9
Author: Marc 'risson' Schmitt <[email protected]>
Date:   Thu Apr 2 19:09:23 2026 +0200

    packages/ak-common/config: add set helper for tests

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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson
rissson enabled auto-merge (squash) April 7, 2026 12:26
@rissson
rissson merged commit a36a6fa into main Apr 7, 2026
154 of 157 checks passed
@rissson
rissson deleted the rust-config-set branch April 7, 2026 13:02
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Apr 7, 2026
@github-actions

github-actions Bot commented Apr 7, 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-2637f5163eb1db2c2bfe400edcd3b5d436fe8e7c
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-2637f5163eb1db2c2bfe400edcd3b5d436fe8e7c

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

davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
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