Skip to content

lifecycle/worker_process: fix healthchecks and metrics not reloading db connections after a failure - #21992

Merged
rissson merged 1 commit into
mainfrom
worker-fix-healthcheck-and-metrics-on-db-restart
May 4, 2026
Merged

rissson merged 1 commit into
mainfrom
worker-fix-healthcheck-and-metrics-on-db-restart

Conversation

@rissson

@rissson rissson commented Apr 30, 2026

Copy link
Copy Markdown
Member

Details

REPLACE ME


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)

…db connections after a failure

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson rissson self-assigned this Apr 30, 2026
@rissson
rissson requested a review from a team as a code owner April 30, 2026 16:16
@rissson rissson moved this from Todo to Needs review in authentik Core Apr 30, 2026
@netlify

netlify Bot commented Apr 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

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

@netlify

netlify Bot commented Apr 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

codecov Bot commented Apr 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.13%. Comparing base (aaba353) to head (257471b).
⚠️ Report is 44 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21992      +/-   ##
==========================================
- Coverage   93.18%   93.13%   -0.06%     
==========================================
  Files        1017     1017              
  Lines       58397    58397              
  Branches      331      331              
==========================================
- Hits        54418    54386      -32     
- Misses       3979     4011      +32     
Flag Coverage Δ
conformance 36.54% <ø> (+<0.01%) ⬆️
e2e 42.41% <ø> (+<0.01%) ⬆️
integration 33.01% <ø> (-0.51%) ⬇️
rust 0.00% <ø> (ø)
unit 92.00% <ø> (-0.01%) ⬇️
unit-migrate 92.04% <ø> (-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.

@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-257471bd06c54c73706a20ae052903133547f52a
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-257471bd06c54c73706a20ae052903133547f52a

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

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core May 4, 2026
@rissson
rissson merged commit 1258e1e into main May 4, 2026
110 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core May 4, 2026
@rissson
rissson deleted the worker-fix-healthcheck-and-metrics-on-db-restart branch May 4, 2026 13:06
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