Skip to content

lib: fix capture_logs not thread safe - #27355

Merged
BeryJu merged 1 commit into
mainfrom
lib/logging-fix-thread-safe
Oct 29, 2026
Merged

BeryJu merged 1 commit into
mainfrom
lib/logging-fix-thread-safe

Conversation

@BeryJu

@BeryJu BeryJu commented Oct 29, 2026

Copy link
Copy Markdown
Member

replaces #26827

@netlify

netlify Bot commented Oct 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 0961128
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ae387ba7bcdbffa2dec6df3
😎 Deploy Preview https://deploy-preview-27355--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 Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.66%. Comparing base (d0e544c) to head (0961128).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27355      +/-   ##
==========================================
- Coverage   92.67%   92.66%   -0.01%     
==========================================
  Files        1197     1198       +1     
  Lines       81718    81928     +210     
  Branches     4628     4686      +58     
==========================================
+ Hits        75729    75918     +189     
- Misses       5913     5934      +21     
  Partials       76       76              
Flag Coverage Δ
conformance 31.00% <27.58%> (-0.03%) ⬇️
e2e 35.83% <27.58%> (-0.04%) ⬇️
integration 28.14% <27.58%> (-0.37%) ⬇️
rust 49.31% <ø> (+0.70%) ⬆️
unit 94.26% <100.00%> (+0.01%) ⬆️
unit-migrate 94.25% <100.00%> (+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 Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

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

gh run download 40925378410 -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-0961128401674938b1240c934f27519907beacc9
# Distroless image: AUTHENTIK_TAG=gh-0961128401674938b1240c934f27519907beacc9-distroless
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-0961128401674938b1240c934f27519907beacc9
        # Distroless image: tag: gh-0961128401674938b1240c934f27519907beacc9-distroless

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

@BeryJu
BeryJu merged commit 1020466 into main Oct 29, 2026
170 checks passed
@BeryJu
BeryJu deleted the lib/logging-fix-thread-safe branch October 29, 2026 18:12
kensternberg-authentik added a commit that referenced this pull request Oct 30, 2026
* main: (114 commits)
  website/integrations: add planka sso requirement note (#27376)
  core: bump ruff from 0.17.2 to 0.17.3 (#27370)
  core: bump cachetools from 7.2.5 to 7.2.6 (#27372)
  core: bump coverage[toml] from 7.16.2 to 7.17.0 (#27373)
  core: bump django from 5.2.17 to 5.2.18 (#27369)
  core: bump google-api-core from 2.36.0 to v2.43.0 (#27214)
  core: bump boto3 from 1.43.90 to v1.43.119 (#27208)
  core: bump googleapis-common-protos from 1.75.3 to v1.76.0 (#27217)
  core: bump msgpack from 1.2.3 to v1.2.4 (#27235)
  packages/django-dramatiq-postgres: limit task fetching (#27197)
  web/admin: make flow execute links base-path aware (#27314)
  lib: fix capture_logs not thread safe (#27355)
  web/user: keep configure URL query strings when adding next (#27313)
  web/flow: refresh WebAuthn challenge on authentication retry (#26616)
  server, lifecycle: drop idle upstream connections before uvicorn does (#27192)
  outposts: only write changed permissions, add endpoint to rebuild them (#26928)
  flows: fix planner not resolving stages causing extra queries (#27320)
  outposts/proxy: honor X-Forwarded-Host in envoy forward auth (#26888)
  website/docs: Update wording for internal and external users (#27345)
  server: strip hop-by-hop headers before forwarding to the application (#27191)
  ...
kensternberg-authentik added a commit that referenced this pull request Oct 30, 2026
* main: (115 commits)
  lib/tracing: use BatchSpanProcessor (#27387)
  website/integrations: add planka sso requirement note (#27376)
  core: bump ruff from 0.17.2 to 0.17.3 (#27370)
  core: bump cachetools from 7.2.5 to 7.2.6 (#27372)
  core: bump coverage[toml] from 7.16.2 to 7.17.0 (#27373)
  core: bump django from 5.2.17 to 5.2.18 (#27369)
  core: bump google-api-core from 2.36.0 to v2.43.0 (#27214)
  core: bump boto3 from 1.43.90 to v1.43.119 (#27208)
  core: bump googleapis-common-protos from 1.75.3 to v1.76.0 (#27217)
  core: bump msgpack from 1.2.3 to v1.2.4 (#27235)
  packages/django-dramatiq-postgres: limit task fetching (#27197)
  web/admin: make flow execute links base-path aware (#27314)
  lib: fix capture_logs not thread safe (#27355)
  web/user: keep configure URL query strings when adding next (#27313)
  web/flow: refresh WebAuthn challenge on authentication retry (#26616)
  server, lifecycle: drop idle upstream connections before uvicorn does (#27192)
  outposts: only write changed permissions, add endpoint to rebuild them (#26928)
  flows: fix planner not resolving stages causing extra queries (#27320)
  outposts/proxy: honor X-Forwarded-Host in envoy forward auth (#26888)
  website/docs: Update wording for internal and external users (#27345)
  ...
@BeryJu BeryJu added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Nov 5, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 has conflicts: #27633

BeryJu added a commit that referenced this pull request Nov 5, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #27355
Original commit: 1020466

Signed-off-by: Jens Langhammer <[email protected]>
BeryJu added a commit that referenced this pull request Nov 5, 2026
…2026.8) (#27633)

Cherry-pick #27355 to version-2026.8 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #27355
Original commit: 1020466

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 goal:performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant