Skip to content

packages/ak-common, ak-axum: improve logging - #21476

Merged
rissson merged 1 commit into
mainfrom
rust-logging
Apr 8, 2026
Merged

rissson merged 1 commit into
mainfrom
rust-logging

Conversation

@rissson

@rissson rissson commented Apr 8, 2026

Copy link
Copy Markdown
Member

Details

use fields where possible instead of embedding data in the message, and use more appropriate levels


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 8, 2026
@rissson
rissson requested a review from a team as a code owner April 8, 2026 14:00
@rissson rissson mentioned this pull request Apr 8, 2026
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Apr 8, 2026
@netlify

netlify Bot commented Apr 8, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 273e538
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69d65f81c1b0b70008c8da8a
😎 Deploy Preview https://deploy-preview-21476--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 enabled auto-merge (squash) April 8, 2026 14:08
@codecov

codecov Bot commented Apr 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.25%. Comparing base (7d4f98c) to head (273e538).
⚠️ Report is 5 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 25.00% 3 Missing ⚠️
packages/ak-axum/src/error.rs 0.00% 1 Missing ⚠️
packages/ak-axum/src/server.rs 0.00% 1 Missing ⚠️
packages/ak-common/src/mode.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21476      +/-   ##
==========================================
- Coverage   92.30%   92.25%   -0.06%     
==========================================
  Files        1029     1029              
  Lines       59128    59129       +1     
  Branches     1990     1991       +1     
==========================================
- Hits        54578    54549      -29     
- Misses       4501     4533      +32     
+ Partials       49       47       -2     
Flag Coverage Δ
conformance 37.01% <ø> (+<0.01%) ⬆️
e2e 42.95% <ø> (ø)
integration 33.90% <ø> (-0.05%) ⬇️
rust 53.44% <40.00%> (+0.12%) ⬆️
unit 91.89% <ø> (+<0.01%) ⬆️
unit-migrate 91.95% <ø> (-0.02%) ⬇️

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 merged commit 318ed2e into main Apr 8, 2026
156 of 160 checks passed
@rissson
rissson deleted the rust-logging branch April 8, 2026 14:48
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Apr 8, 2026
@github-actions

github-actions Bot commented Apr 8, 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-273e538c80936a76cba0f1d63c2f433e89d31d41
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-273e538c80936a76cba0f1d63c2f433e89d31d41

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