Skip to content

packages/django-dramatiq-postgres: run worker in the same base process, use structlog #16061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 10, 2025

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Aug 10, 2025

Details

a) run in the same process to avoid extra memory overhead by loading all of django twice
b) to give easier to parse logs


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

BeryJu added 3 commits August 10, 2025 17:21
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from rissson August 10, 2025 16:30
@BeryJu BeryJu requested a review from a team as a code owner August 10, 2025 16:30
Copy link

netlify bot commented Aug 10, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 4ce28d1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/68990abbfee6aa0008a48934

Copy link

netlify bot commented Aug 10, 2025

Deploy Preview for authentik-integrations canceled.

Name Link
🔨 Latest commit 4ce28d1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/68990abbb145910008a85f62

Copy link

netlify bot commented Aug 10, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 4ce28d1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/68990abbc9dfc7000804f921

Copy link
Contributor

github-actions bot commented Aug 10, 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-4ce28d10984d0af3789540df712b8fa4c9f25950
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-4ce28d10984d0af3789540df712b8fa4c9f25950

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

BeryJu added 2 commits August 10, 2025 19:04
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu enabled auto-merge (squash) August 10, 2025 20:42
@BeryJu BeryJu disabled auto-merge August 10, 2025 20:43
BeryJu added 2 commits August 10, 2025 21:51
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu enabled auto-merge (squash) August 10, 2025 21:10
@BeryJu BeryJu merged commit 7d4ce2a into main Aug 10, 2025
105 checks passed
@BeryJu BeryJu deleted the packages/dramatiq-inline branch August 10, 2025 21:32
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