Skip to content

lib/expression: fix PickleError due to resolver match when using ak_call_policy - #25763

Merged
BeryJu merged 2 commits into
mainfrom
lib/expression/fix-deepcopy-resolvermatch
Sep 4, 2026
Merged

BeryJu merged 2 commits into
mainfrom
lib/expression/fix-deepcopy-resolvermatch

Conversation

@BeryJu

@BeryJu BeryJu commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

closes #25709
introduced with #25462

@BeryJu BeryJu added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Sep 4, 2026
@BeryJu
BeryJu requested a review from a team as a code owner September 4, 2026 12:28
Signed-off-by: Jens Langhammer <[email protected]>
@codecov

codecov Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.68%. Comparing base (28e0ac3) to head (2ce3dd4).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25763      +/-   ##
==========================================
- Coverage   91.71%   91.68%   -0.04%     
==========================================
  Files        1154     1154              
  Lines       73585    73598      +13     
  Branches     4054     4054              
==========================================
- Hits        67491    67478      -13     
- Misses       6052     6078      +26     
  Partials       42       42              
Flag Coverage Δ
conformance 34.36% <21.42%> (-0.01%) ⬇️
e2e 39.00% <21.42%> (-0.01%) ⬇️
integration 30.51% <21.42%> (-0.45%) ⬇️
rust 42.92% <ø> (ø)
unit 93.26% <100.00%> (+2.41%) ⬆️
unit-migrate 93.28% <100.00%> (+1.51%) ⬆️

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.

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 2ce3dd4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a9ab96d2565630007a56743
😎 Deploy Preview https://deploy-preview-25763--authentik-integrations.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.

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 2ce3dd4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a9ab96deff79000080f4e96
😎 Deploy Preview https://deploy-preview-25763--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.

@github-actions

github-actions Bot commented Sep 4, 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-2ce3dd48458177223116577ab902b121ff1914d1
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-2ce3dd48458177223116577ab902b121ff1914d1

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

@BeryJu
BeryJu merged commit 4a93267 into main Sep 4, 2026
235 of 237 checks passed
@BeryJu
BeryJu deleted the lib/expression/fix-deepcopy-resolvermatch branch September 4, 2026 14:10
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #25768

BeryJu added a commit that referenced this pull request Sep 4, 2026
…all_policy (cherry-pick #25763 to version-2026.8) (#25768)

lib/expression: fix PickleError due to resolver match when using ak_call_policy (#25763)

* lib/expression: fix PickleError due to resolver match when using ak_call_policy



* set resolver_match in tests



---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Sep 8, 2026
* main: (45 commits)
  enterprise/providers/ws_federation: fix SAML Version casing (#25764)
  web/admin: oauth provider: explain what happens when no signing key is selected (#25756)
  lib/expression: fix PickleError due to resolver match when using ak_call_policy (#25763)
  website/docs: correct authenticator stage deletion behavior (#25070)
  ci: bump docker/setup-qemu-action from 4.2.0 to 4.3.0 (#25749)
  core: bump selenium from 4.47.0 to 4.48.0 (#25745)
  core: bump library/nginx from `db3099a` to `05b8cb6` in /website (#25747)
  admin/files: make file search case-insensitive (#25736)
  core: explicitly check is_active in auth backends (#25729)
  ci: bump helm/kind-action from 1.14.0 to 1.15.0 (#25750)
  core: bump aws-cdk-lib from 2.266.0 to 2.267.0 (#25748)
  lib: avoid DNS resolution in fqdn_rand (#25728)
  website/docs: add instructions on how to collect user attributes during enrollment (#25717)
  core: bump rust-toolchain from 1.98.0 to 1.98.1 (#25740)
  core: bump tower-http from 0.7.0 to 0.7.1 (#25753)
  core: bump cachetools from 7.1.7 to 7.1.8 (#25742)
  core: bump the types group with 2 updates (#25739)
  core: bump psycopg[c,pool] from 3.3.4 to 3.3.5 (#25741)
  website/docs: document ForceAuthn and typed AKQL JSON values (#25079)
  web: fix switches in table toolbars (#25730)
  ...
@BeryJu BeryJu added the backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 label Sep 11, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.5 created: #26071

BeryJu added a commit that referenced this pull request Sep 11, 2026
…all_policy (cherry-pick #25763 to version-2026.5) (#26071)

lib/expression: fix PickleError due to resolver match when using ak_call_policy (#25763)

* lib/expression: fix PickleError due to resolver match when using ak_call_policy



* set resolver_match in tests



---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expression policy ak_call_policy() fails with "Cannot pickle ResolverMatch" after upgrade to 2026.8.1

2 participants