Skip to content

core: fix session migration when old session can't be loaded#14466

Merged
BeryJu merged 1 commit intomainfrom
core/fix-session-migration
May 12, 2025
Merged

core: fix session migration when old session can't be loaded#14466
BeryJu merged 1 commit intomainfrom
core/fix-session-migration

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented May 10, 2025

Details

closes #14465


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: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner May 10, 2025 17:05
@netlify
Copy link

netlify bot commented May 10, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit f9b8cfe
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/681f8747bbd5a70008195c27

@netlify
Copy link

netlify bot commented May 10, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit f9b8cfe
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/681f8747dc4bc200084609cf

@codecov
Copy link

codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (7d2aa43) to head (f9b8cfe).
Report is 6 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14466      +/-   ##
==========================================
+ Coverage   92.44%   92.70%   +0.26%     
==========================================
  Files         809      809              
  Lines       41535    41535              
==========================================
+ Hits        38397    38507     +110     
+ Misses       3138     3028     -110     
Flag Coverage Δ
e2e 47.77% <ø> (+1.18%) ⬆️
integration 24.39% <ø> (ø)
unit 90.57% <ø> (+<0.01%) ⬆️

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.

@github-actions
Copy link
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-f9b8cfe5c939ffca89e384e1df7a2f22cf7a777e
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-f9b8cfe5c939ffca89e384e1df7a2f22cf7a777e

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

@BeryJu
Copy link
Member Author

BeryJu commented May 12, 2025

/cherry-pick version-2025.4

Copy link
Collaborator

@gergosimonyi gergosimonyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Living fossil

@BeryJu BeryJu merged commit 8589079 into main May 12, 2025
92 checks passed
@BeryJu BeryJu deleted the core/fix-session-migration branch May 12, 2025 13:51
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request May 12, 2025
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request May 12, 2025
…pick #14466) (#14480)

core: fix session migration when old session can't be loaded (#14466)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request May 22, 2025
* main: (60 commits)
  website: bump the build group in /website with 6 updates (#14502)
  core: remove `OldAuthenticatedSession` content type (#14507)
  core: bump msgraph-sdk from 1.29.0 to 1.30.0 (#14503)
  core: bump twilio from 9.6.0 to 9.6.1 (#14505)
  core: bump psycopg[c,pool] from 3.2.8 to 3.2.9 (#14504)
  enterprise: fix expired license's users being counted (#14451)
  website/integrations: fix missing closing brace for semaphore (#14467)
  tests/e2e: Add E2E tests for Flow SFE (#14484)
  website: bump semver from 7.7.1 to 7.7.2 in /website (#14491)
  core: bump django from 5.1.8 to 5.1.9 (#14483)
  core: bump psycopg[c,pool] from 3.2.7 to 3.2.8 (#14481)
  core: bump sentry-sdk from 2.27.0 to 2.28.0 (#14482)
  root: pin package version in pyproject for dependabot (#14469)
  core: fix session migration when old session can't be loaded (#14466)
  root: temporarily deactivate database pool option (#14443)
  website: bump the build group in /website with 3 updates (#14475)
  website/docs: stages: fix-typo (#14477)
  website/docs: Update Kubernetes Bootstrap Instructions (#14471)
  root: improve sentry distributed tracing (#14468)
  Revert "web/admin: fix enterprise menu display" (#14458)
  ...
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.

Migration 2025.2.3 -> 2025.4.0 fails (PlexSourceConnection)

2 participants