Skip to content

packages/django-dramatiq-postgres: limit task fetching - #27197

Merged
BeryJu merged 10 commits into
mainfrom
worker-optimize-maybe
Oct 29, 2026
Merged

BeryJu merged 10 commits into
mainfrom
worker-optimize-maybe

Conversation

@BeryJu

@BeryJu BeryJu commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

limit how many tasks can be fetched to 1k, otherwise all tasks would be loaded even though the worker doesn't need that much info

claude assisted

@netlify

netlify Bot commented Oct 26, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 8b674a9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6adf86e198fccb835e6dac15
😎 Deploy Preview https://deploy-preview-27197--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 26, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27197      +/-   ##
==========================================
+ Coverage   92.67%   92.70%   +0.03%     
==========================================
  Files        1197     1198       +1     
  Lines       81718    81929     +211     
  Branches     4628     4686      +58     
==========================================
+ Hits        75729    75951     +222     
+ Misses       5913     5902      -11     
  Partials       76       76              
Flag Coverage Δ
conformance 31.00% <0.00%> (-0.03%) ⬇️
e2e 35.83% <0.00%> (-0.04%) ⬇️
integration 28.46% <0.00%> (-0.05%) ⬇️
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 26, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

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

gh run download 40930715086 -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-26c23c32a9c4d75037b505110eb370c4ca3460ff
# Distroless image: AUTHENTIK_TAG=gh-26c23c32a9c4d75037b505110eb370c4ca3460ff-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-26c23c32a9c4d75037b505110eb370c4ca3460ff
        # Distroless image: tag: gh-26c23c32a9c4d75037b505110eb370c4ca3460ff-distroless

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

Base automatically changed from events/notification-rule-single-pass to main October 27, 2026 13:45
@BeryJu
BeryJu merged commit fa9abf1 into main Oct 29, 2026
281 of 283 checks passed
@BeryJu
BeryJu deleted the worker-optimize-maybe branch October 29, 2026 19:09
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 10, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

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

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

Original PR: #27197
Original commit: fa9abf1
BeryJu added a commit that referenced this pull request Nov 10, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #27197
Original commit: fa9abf1

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

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

This cherry-pick has conflicts that need manual resolution.

Original PR: #27197
Original commit: fa9abf1

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
Co-authored-by: Dewi Roberts <[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