Skip to content

blueprints: handle integrity exception when applying blueprints (cherry-pick #22599 to version-2026.2) - #22926

Merged
BeryJu merged 1 commit into
version-2026.2from
cherry-pick/22599-to-version-2026.2
Jun 8, 2026
Merged

BeryJu merged 1 commit into
version-2026.2from
cherry-pick/22599-to-version-2026.2

Conversation

@authentik-automation

Copy link
Copy Markdown
Contributor

Cherry-pick of #22599 to version-2026.2 branch.

Original PR: #22599
Original Author: @BeryJu
Cherry-picked commit: 519a4d7

this can happen when the server/worker are starting and you also try to apply blueprints with `ak apply_blueprint`, as seen in https://github.com/goauthentik/action-setup-authentik
@codecov

codecov Bot commented Jun 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 24.00000% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.46%. Comparing base (4622477) to head (df75b40).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/blueprints/v1/importer.py 24.00% 19 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.2   #22926      +/-   ##
==================================================
- Coverage           93.49%   93.46%   -0.04%     
==================================================
  Files                 981      981              
  Lines               55674    55698      +24     
==================================================
+ Hits                52054    52059       +5     
- Misses               3620     3639      +19     
Flag Coverage Δ
conformance 37.06% <24.00%> (-0.01%) ⬇️
e2e 42.81% <24.00%> (-0.02%) ⬇️
integration 22.11% <4.00%> (-0.01%) ⬇️
unit 91.69% <24.00%> (-0.04%) ⬇️
unit-migrate 91.74% <24.00%> (-0.04%) ⬇️

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 Jun 8, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit df75b40
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a26c2bab43a2a0008c082d3
😎 Deploy Preview https://deploy-preview-22926--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 Jun 8, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit df75b40
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a26c2bc41d62c0008042b50
😎 Deploy Preview https://deploy-preview-22926--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 Jun 8, 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-df75b406dc05b4858039619b35fec09e6efed168
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-df75b406dc05b4858039619b35fec09e6efed168

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

@BeryJu
BeryJu merged commit 5ec365a into version-2026.2 Jun 8, 2026
92 of 93 checks passed
@BeryJu
BeryJu deleted the cherry-pick/22599-to-version-2026.2 branch June 8, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant