Skip to content

packages/ak-common/tracing: make console subscriber optional - #24219

Merged
rissson merged 1 commit into
mainfrom
console-subscriber-optional
Jul 23, 2026
Merged

rissson merged 1 commit into
mainfrom
console-subscriber-optional

Conversation

@rissson

@rissson rissson commented Jul 20, 2026

Copy link
Copy Markdown
Member

Details

What does this PR change?

Make listening on debug_tokio optional.

Why is this change needed?

Currently we always try to listen there and fail when the port is already occupied, for example if another authentik process is running. So running both the server and proxy outpost (for example) in dev would crash the second process that starts.

How was this tested?

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@rissson rissson self-assigned this Jul 20, 2026
@rissson
rissson requested a review from a team as a code owner July 20, 2026 12:42
@netlify

netlify Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c9bb0a4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a6200ff9dd0860008b60217
😎 Deploy Preview https://deploy-preview-24219--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 Jul 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.49%. Comparing base (cd18cf3) to head (c9bb0a4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24219      +/-   ##
==========================================
- Coverage   93.49%   93.49%   -0.01%     
==========================================
  Files        1063     1063              
  Lines       64068    64068              
  Branches      424      424              
==========================================
- Hits        59901    59900       -1     
- Misses       4167     4168       +1     
Flag Coverage Δ
conformance 35.45% <ø> (+<0.01%) ⬆️
e2e 40.40% <ø> (-0.01%) ⬇️
integration 31.97% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.68% <ø> (+<0.01%) ⬆️
unit-migrate 92.71% <ø> (+<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.

@rissson
rissson enabled stacked auto-merge (squash) July 20, 2026 13:09
@github-actions

github-actions Bot commented Jul 20, 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-c9bb0a485fbdf17a794bced2c691dd3fe0ae0a0a
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-c9bb0a485fbdf17a794bced2c691dd3fe0ae0a0a

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

@rissson rissson moved this from Todo to Needs review in authentik Core Jul 20, 2026
@rissson
rissson disabled stacked auto-merge July 23, 2026 11:53
@rissson
rissson force-pushed the console-subscriber-optional branch from 98d6c5f to c9bb0a4 Compare July 23, 2026 11:54
@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Jul 23, 2026
@rissson
rissson merged commit 5f6b68d into main Jul 23, 2026
123 checks passed
@rissson
rissson deleted the console-subscriber-optional branch July 23, 2026 12:51
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jul 23, 2026
kensternberg-authentik added a commit that referenced this pull request Jul 23, 2026
* main: (172 commits)
  web/admin: QOL: Add "Expiring in `n` days" and "Expiring today" notices to LicenseStatusCard (#24300)
  stages/authenticator: protect devices from stage deletion (#24324)
  core: prompt securely when hashing passwords (#24126)
  events: show account changes in user event history (#24323)
  website/integrations: The Lounge: cleanup (#23628)
  ci: bump taiki-e/install-action from 2.83.4 to 2.84.0 in /.github/actions/setup (#24312)
  ci: add working dir prefix to file paths (#24319)
  core, web: update translations (#24304)
  packages/ak-common/tracing: make console subscriber optional (#24219)
  website: bump the build group in /website with 6 updates (#24305)
  core: bump pnpm/pnpm from 11.15.0 to 11.15.1 in /lifecycle/container (#24308)
  core: bump pnpm/pnpm from 11.15.0 to 11.15.1 in /website (#24309)
  core: bump constructs from 10.6.0 to 10.7.0 (#24310)
  core: bump uuid from 1.23.5 to 1.24.0 (#24311)
  enterprise/providers/ws_fed: add SAML 1.1 support (#23851)
  web/admin: enterprise status card properties (#24170)
  web/elements: update the progress bar (#24134)
  web/maint: upgrade ak-divider (#24082)
  web/bug: harmonize and make routine the display of tasks (part 6: sch… (#23859)
  web/maint: upgrade ak-toggle-group (#24038)
  ...
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