Skip to content

root: temporarily deactivate database pool option#14443

Merged
BeryJu merged 3 commits intomainfrom
root/deactivate-pg_pool
May 12, 2025
Merged

root: temporarily deactivate database pool option#14443
BeryJu merged 3 commits intomainfrom
root/deactivate-pg_pool

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented May 9, 2025

Details

See #14320

Since this issue seems to happen due to something multithreading related, either due to the multithreading happening with uvicorn or multithreading in authentik and we're not yet able to find a solution for this, we'll deactivate this option temporarily with 2025.4.1 and re-enable the option when we've found a solution.


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 has been updated (make gen-build)

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 website)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested review from a team as code owners May 9, 2025 14:23
@netlify
Copy link

netlify bot commented May 9, 2025

Deploy Preview for authentik-docs failed. Why did it fail? →

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6821ecbf5b7ec43adac2d10a

@netlify
Copy link

netlify bot commented May 9, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 5b55484
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/681e1488abc5e40008fa5aff

@BeryJu
Copy link
Member Author

BeryJu commented May 9, 2025

/cherry-pick version-2025.4

@codecov
Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.69%. Comparing base (7dd62c1) to head (5b55484).
Report is 15 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14443      +/-   ##
==========================================
- Coverage   92.70%   92.69%   -0.02%     
==========================================
  Files         809      809              
  Lines       41533    41511      -22     
==========================================
- Hits        38505    38479      -26     
- Misses       3028     3032       +4     
Flag Coverage Δ
e2e 47.80% <100.00%> (+0.02%) ⬆️
integration 24.41% <100.00%> (+0.01%) ⬆️
unit 90.55% <100.00%> (-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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

BeryJu added 2 commits May 9, 2025 16:29
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2025

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-5b5548471feef88ed211c2cfb5f5528541fc71d3
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-5b5548471feef88ed211c2cfb5f5528541fc71d3

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

@BeryJu BeryJu merged commit ae2af6e into main May 12, 2025
87 of 91 checks passed
@BeryJu BeryJu deleted the root/deactivate-pg_pool branch May 12, 2025 12:48
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request May 12, 2025
* root: temporarily deactivate database pool option

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* format

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* deactivate tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request May 12, 2025
#14479)

root: temporarily deactivate database pool option (#14443)

* root: temporarily deactivate database pool option



* format



* deactivate tests



---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request May 22, 2025
* main: (60 commits)
  website: bump the build group in /website with 6 updates (#14502)
  core: remove `OldAuthenticatedSession` content type (#14507)
  core: bump msgraph-sdk from 1.29.0 to 1.30.0 (#14503)
  core: bump twilio from 9.6.0 to 9.6.1 (#14505)
  core: bump psycopg[c,pool] from 3.2.8 to 3.2.9 (#14504)
  enterprise: fix expired license's users being counted (#14451)
  website/integrations: fix missing closing brace for semaphore (#14467)
  tests/e2e: Add E2E tests for Flow SFE (#14484)
  website: bump semver from 7.7.1 to 7.7.2 in /website (#14491)
  core: bump django from 5.1.8 to 5.1.9 (#14483)
  core: bump psycopg[c,pool] from 3.2.7 to 3.2.8 (#14481)
  core: bump sentry-sdk from 2.27.0 to 2.28.0 (#14482)
  root: pin package version in pyproject for dependabot (#14469)
  core: fix session migration when old session can't be loaded (#14466)
  root: temporarily deactivate database pool option (#14443)
  website: bump the build group in /website with 3 updates (#14475)
  website/docs: stages: fix-typo (#14477)
  website/docs: Update Kubernetes Bootstrap Instructions (#14471)
  root: improve sentry distributed tracing (#14468)
  Revert "web/admin: fix enterprise menu display" (#14458)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants