Skip to content

website: document PostgreSQL query performance troubleshooting - #26385

Merged
dominic-r merged 1 commit into
mainfrom
dominic/docs-postgres-jit
Sep 24, 2026
Merged

dominic-r merged 1 commit into
mainfrom
dominic/docs-postgres-jit

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Closes #24179

@dominic-r dominic-r self-assigned this Sep 23, 2026
@dominic-r
dominic-r requested a review from a team as a code owner September 23, 2026 17:12
@dominic-r dominic-r added area:docs Features or issues related to Docusaurus backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Sep 23, 2026
@netlify

netlify Bot commented Sep 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7f7c6f9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ab4087bba648c00081773eb
😎 Deploy Preview https://deploy-preview-26385--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 Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.08%. Comparing base (ca9473e) to head (7f7c6f9).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26385      +/-   ##
==========================================
- Coverage   92.12%   92.08%   -0.04%     
==========================================
  Files        1177     1177              
  Lines       76842    76842              
  Branches     4121     4121              
==========================================
- Hits        70791    70763      -28     
- Misses       5998     6026      +28     
  Partials       53       53              
Flag Coverage Δ
conformance 33.31% <ø> (+<0.01%) ⬆️
e2e 38.09% <ø> (+<0.01%) ⬆️
integration 29.62% <ø> (-0.44%) ⬇️
rust 44.79% <ø> (ø)
unit 93.61% <ø> (ø)
unit-migrate 93.63% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report, traces and server logs, then open the report:

gh run download 35894011180 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-7f7c6f92ce9ff24dc5eb912004b21aea0a09b81a
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-7f7c6f92ce9ff24dc5eb912004b21aea0a09b81a

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

@dewi-tik dewi-tik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs @rissson approval before merge

@@ -0,0 +1,23 @@
---
title: Troubleshoot slow PostgreSQL queries
---

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
---
sidebar_label: Slow queries
sidebar_position: 3
---

Label not essential

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Sep 24, 2026
@rissson

rissson commented Sep 24, 2026

Copy link
Copy Markdown
Member

it's nowhere good enough for a postgres doc, but it's a start

@dominic-r
dominic-r merged commit 78e541e into main Sep 24, 2026
146 checks passed
@dominic-r
dominic-r deleted the dominic/docs-postgres-jit branch September 24, 2026 13:45
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Sep 24, 2026
@dominic-r dominic-r added backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 and removed backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Sep 24, 2026
@dominic-r

Copy link
Copy Markdown
Member Author

is the bot broken

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 failed during push:

git push: exit status 1
To https://github.com/goauthentik/authentik.git
 ! [rejected]            cherry-pick/26385-to-version-2026.8 -> cherry-pick/26385-to-version-2026.8 (non-fast-forward)
error: failed to push some refs to 'https://github.com/goauthentik/authentik.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

@dominic-r dominic-r added backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 and removed backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Sep 24, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 failed during push:

git push: exit status 1
To https://github.com/goauthentik/authentik.git
 ! [rejected]            cherry-pick/26385-to-version-2026.8 -> cherry-pick/26385-to-version-2026.8 (non-fast-forward)
error: failed to push some refs to 'https://github.com/goauthentik/authentik.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

@dewi-tik dewi-tik added backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 and removed backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Sep 25, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 failed during push:

git push: exit status 1
To https://github.com/goauthentik/authentik.git
 ! [rejected]            cherry-pick/26385-to-version-2026.8 -> cherry-pick/26385-to-version-2026.8 (non-fast-forward)
error: failed to push some refs to 'https://github.com/goauthentik/authentik.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

dominic-r added a commit that referenced this pull request Sep 29, 2026
dominic-r added a commit that referenced this pull request Sep 29, 2026
…to version-2026.8) (#26550)

* website/docs: upgrade doc: mention anaylze command (#26432)

Mention anaylze command in upgrade doc

* website: document PostgreSQL query performance troubleshooting (#26385)

(cherry picked from commit 78e541e)

---------

Co-authored-by: Dewi Roberts <[email protected]>
Co-authored-by: Dominic Roy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

authentik performance degradation over time due to Postgres JIT

3 participants