Skip to content

tenants: fix tenant aware celery scheduler - #14921

Merged
rissson merged 3 commits into
mainfrom
fix-tenant-scheduler
Jun 5, 2025
Merged

rissson merged 3 commits into
mainfrom
fix-tenant-scheduler

Conversation

@rissson

@rissson rissson commented Jun 5, 2025 •

Copy link
Copy Markdown
Member

Details

Closes #14917


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

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson rissson self-assigned this Jun 5, 2025
@rissson
rissson requested a review from a team as a code owner June 5, 2025 11:46
@netlify

netlify Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 5fdaee4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6841850885db1b000836b465

@netlify

netlify Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 5fdaee4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6841850881bc4f00080033c3

@rissson

rissson commented Jun 5, 2025

Copy link
Copy Markdown
Member Author

/cherry-pick version-2025.6

@codecov

codecov Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.83%. Comparing base (7a8c2e7) to head (5fdaee4).
Report is 35 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14921      +/-   ##
==========================================
+ Coverage   92.76%   92.83%   +0.07%     
==========================================
  Files         817      817              
  Lines       42197    42197              
==========================================
+ Hits        39142    39173      +31     
+ Misses       3055     3024      -31     
Flag Coverage Δ
e2e 47.70% <ø> (+0.14%) ⬆️
integration 24.38% <ø> (ø)
unit 90.65% <ø> (ø)

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

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson
rissson enabled auto-merge (squash) June 5, 2025 11:54
@github-actions

github-actions Bot commented Jun 5, 2025 •

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-5fdaee49187c2083fb1e7d12b7b82548d4cca6c9
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-5fdaee49187c2083fb1e7d12b7b82548d4cca6c9

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

@rissson
rissson merged commit 452639d into main Jun 5, 2025
@rissson
rissson deleted the fix-tenant-scheduler branch June 5, 2025 12:20
@gcp-cherry-pick-bot

Copy link
Copy Markdown
Contributor

Cherry-pick failed with Merge error 452639d6d2bc715088e020de7e45f117e6adba85 into temp-cherry-pick-4e47d3-version-2025.6

kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main: (54 commits)
  web/user: fix user settings flow not loading (#14911)
  website/docs: fix outdated and incorrect example kubernetes deployment (#14928)
  docusaurus-config: Update deps, colors. (#14796)
  admin: only run update checks in the default tenant (#14874)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14923)
  core: bump astral-sh/uv from 0.7.10 to 0.7.11 (#14918)
  providers/proxy: set_oauth_defaults in reconcile instead of task (#14875)
  *: use ManagedAppConfig everywhere (#14839)
  tenants: fix tenant aware celery scheduler (#14921)
  core, web: update translations (#14910)
  core: bump goauthentik.io/api/v3 from 3.2025041.4 to 3.2025060.1 (#14919)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14915)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14916)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#14914)
  website/integrations: improve komodo config verification (#14849)
  website/integrations: fix komodo provider url (#14912)
  website/docs: fix note at end of rac credentials prompt (#14909)
  website/docs: add credentials prompt for rac doc (#14840)
  core: bump redis from 6.0.0 to v6.2.0 (#14895)
  core: bump protobuf from 6.30.2 to v6.31.1 (#14894)
  ...
kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main: (202 commits)
  web/user: fix user settings flow not loading (#14911)
  website/docs: fix outdated and incorrect example kubernetes deployment (#14928)
  docusaurus-config: Update deps, colors. (#14796)
  admin: only run update checks in the default tenant (#14874)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14923)
  core: bump astral-sh/uv from 0.7.10 to 0.7.11 (#14918)
  providers/proxy: set_oauth_defaults in reconcile instead of task (#14875)
  *: use ManagedAppConfig everywhere (#14839)
  tenants: fix tenant aware celery scheduler (#14921)
  core, web: update translations (#14910)
  core: bump goauthentik.io/api/v3 from 3.2025041.4 to 3.2025060.1 (#14919)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14915)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14916)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#14914)
  website/integrations: improve komodo config verification (#14849)
  website/integrations: fix komodo provider url (#14912)
  website/docs: fix note at end of rac credentials prompt (#14909)
  website/docs: add credentials prompt for rac doc (#14840)
  core: bump redis from 6.0.0 to v6.2.0 (#14895)
  core: bump protobuf from 6.30.2 to v6.31.1 (#14894)
  ...
kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main: (209 commits)
  core: bump django from 5.1.9 to 5.1.10 (#14951)
  website/docs: add 2025.6.1 release notes (#14948)
  root: remove /if/help (#14929)
  core, web: update translations (#14933)
  providers/proxy: add option to override host header with property mappings (#14927)
  website/integrations: fix webfinger link in tailscale doc (#14942)
  web/admin: make message container bottom aligned for admin interface (#14816)
  web/user: fix user settings flow not loading (#14911)
  website/docs: fix outdated and incorrect example kubernetes deployment (#14928)
  docusaurus-config: Update deps, colors. (#14796)
  admin: only run update checks in the default tenant (#14874)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14923)
  core: bump astral-sh/uv from 0.7.10 to 0.7.11 (#14918)
  providers/proxy: set_oauth_defaults in reconcile instead of task (#14875)
  *: use ManagedAppConfig everywhere (#14839)
  tenants: fix tenant aware celery scheduler (#14921)
  core, web: update translations (#14910)
  core: bump goauthentik.io/api/v3 from 3.2025041.4 to 3.2025060.1 (#14919)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14915)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14916)
  ...
kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main: (209 commits)
  core: bump django from 5.1.9 to 5.1.10 (#14951)
  website/docs: add 2025.6.1 release notes (#14948)
  root: remove /if/help (#14929)
  core, web: update translations (#14933)
  providers/proxy: add option to override host header with property mappings (#14927)
  website/integrations: fix webfinger link in tailscale doc (#14942)
  web/admin: make message container bottom aligned for admin interface (#14816)
  web/user: fix user settings flow not loading (#14911)
  website/docs: fix outdated and incorrect example kubernetes deployment (#14928)
  docusaurus-config: Update deps, colors. (#14796)
  admin: only run update checks in the default tenant (#14874)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14923)
  core: bump astral-sh/uv from 0.7.10 to 0.7.11 (#14918)
  providers/proxy: set_oauth_defaults in reconcile instead of task (#14875)
  *: use ManagedAppConfig everywhere (#14839)
  tenants: fix tenant aware celery scheduler (#14921)
  core, web: update translations (#14910)
  core: bump goauthentik.io/api/v3 from 3.2025041.4 to 3.2025060.1 (#14919)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14915)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14916)
  ...
cavefire pushed a commit to cavefire/authentik that referenced this pull request Jun 24, 2025
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.

AttributeError: 'TenantAwareScheduleEntry' after upgrading from 2025.4.2 to 2025.6.0

2 participants