Skip to content

blueprints: handle invalid yaml, add dry run to apply_blueprint - #24813

Merged
BeryJu merged 1 commit into
mainfrom
blueprints/handle-invalid-yaml-error
Aug 6, 2026
Merged

BeryJu merged 1 commit into
mainfrom
blueprints/handle-invalid-yaml-error

Conversation

@BeryJu

@BeryJu BeryJu commented Aug 6, 2026

Copy link
Copy Markdown
Member

Currently uploading a blueprint with an invalid unicode character for example just caused a 405 error

@BeryJu
BeryJu requested a review from a team as a code owner August 6, 2026 09:43
@BeryJu BeryJu added 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 labels Aug 6, 2026
@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 23be258
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a74576088876800088f4a7b
😎 Deploy Preview https://deploy-preview-24813--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 Aug 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 54.54545% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.27%. Comparing base (6f26217) to head (23be258).
⚠️ Report is 12 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/blueprints/v1/importer.py 50.00% 3 Missing ⚠️
authentik/blueprints/api.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24813      +/-   ##
==========================================
- Coverage   91.31%   91.27%   -0.04%     
==========================================
  Files        1136     1136              
  Lines       71237    71244       +7     
  Branches     3874     3874              
==========================================
- Hits        65047    65026      -21     
- Misses       6155     6183      +28     
  Partials       35       35              
Flag Coverage Δ
conformance 35.00% <36.36%> (+0.03%) ⬆️
e2e 39.74% <36.36%> (+<0.01%) ⬆️
integration 31.10% <18.18%> (-0.46%) ⬇️
rust 38.90% <ø> (ø)
unit 92.97% <54.54%> (-0.01%) ⬇️
unit-migrate 93.00% <54.54%> (-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.

@BeryJu
BeryJu merged commit 1de9ca2 into main Aug 6, 2026
227 of 232 checks passed
@BeryJu
BeryJu deleted the blueprints/handle-invalid-yaml-error branch August 6, 2026 11:50
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

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

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Aug 6, 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-23be258a627728efe0e358f47f31210d914b070b
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-23be258a627728efe0e358f47f31210d914b070b

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

BeryJu added a commit that referenced this pull request Aug 6, 2026
…ry-pick #24813 to version-2026.8) (#24821)

blueprints: handle invalid yaml, add dry run to apply_blueprint (#24813)

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
BeryJu added a commit that referenced this pull request Aug 6, 2026
…ry-pick #24813 to version-2026.5) (#24820)

blueprints: handle invalid yaml, add dry run to apply_blueprint (#24813)

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Aug 6, 2026
…' into slice/theme-package

* refs/remotes/origin/slice/theme-package: (69 commits)
  Potential fix for pull request finding
  Format.
  I'm really sorry, but the namespacing is important.  Both for DX and for future development; having the token types have distinct separators is valuable to automatic theme management.
  web/theme: Create a demo file for the theme.
  Rough demo sheet.
  packages/fonts: record the licensing of every bundled font
  packages/fonts: move the PatternFly icon faces into @goauthentik/fonts
  packages/fonts: extract the RedHat variable faces into @goauthentik/fonts
  Added clean job.
  packages/theme: add @goauthentik/theme design-system package
  server: avoid looping indefinitely on embedded outpost start (take 2) (#24824)
  enterprise/agents: fix enterprise required check for agents (#24814)
  providers/oauth2: fix missing authorization event for oauth provider, add tests (#24819)
  blueprints: handle invalid yaml, add dry run to apply_blueprint (#24813)
  core: bump sentry from 0.48.5 to 0.49.0 (#24806)
  blueprints: Fix tags not being resolved when used for `!Env`'s default value (#20610)
  core: bump django from 5.2.16 to v5.2.17 (#24793)
  ci: bump github/codeql-action/init from 4.37.4 to 4.37.5 (#24808)
  ci: bump github/codeql-action/analyze from 4.37.4 to 4.37.5 (#24807)
  core, web: update translations (#24802)
  ...
kensternberg-authentik added a commit that referenced this pull request Aug 6, 2026
* slice/theme-package: (49 commits)
  Potential fix for pull request finding
  Format.
  I'm really sorry, but the namespacing is important.  Both for DX and for future development; having the token types have distinct separators is valuable to automatic theme management.
  web/theme: Create a demo file for the theme.
  Rough demo sheet.
  packages/fonts: record the licensing of every bundled font
  packages/fonts: move the PatternFly icon faces into @goauthentik/fonts
  packages/fonts: extract the RedHat variable faces into @goauthentik/fonts
  Added clean job.
  packages/theme: add @goauthentik/theme design-system package
  server: avoid looping indefinitely on embedded outpost start (take 2) (#24824)
  enterprise/agents: fix enterprise required check for agents (#24814)
  providers/oauth2: fix missing authorization event for oauth provider, add tests (#24819)
  blueprints: handle invalid yaml, add dry run to apply_blueprint (#24813)
  core: bump sentry from 0.48.5 to 0.49.0 (#24806)
  blueprints: Fix tags not being resolved when used for `!Env`'s default value (#20610)
  core: bump django from 5.2.16 to v5.2.17 (#24793)
  ci: bump github/codeql-action/init from 4.37.4 to 4.37.5 (#24808)
  ci: bump github/codeql-action/analyze from 4.37.4 to 4.37.5 (#24807)
  core, web: update translations (#24802)
  ...
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.

2 participants