Skip to content

events: fix destination_group_obj not being nullable - #22161

Merged
gergosimonyi merged 2 commits into
mainfrom
events/fix-destination-group-object-not-nullable
May 8, 2026
Merged

gergosimonyi merged 2 commits into
mainfrom
events/fix-destination-group-object-not-nullable

Conversation

@gergosimonyi

Copy link
Copy Markdown
Member

No description provided.

@gergosimonyi
gergosimonyi requested review from a team as code owners May 8, 2026 11:54
@gergosimonyi gergosimonyi added the backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 label May 8, 2026
@netlify

netlify Bot commented May 8, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 5be91b4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69fdceee7910f50008f4eb70
😎 Deploy Preview https://deploy-preview-22161--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 May 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.24%. Comparing base (8c5edef) to head (d898c1b).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #22161   +/-   ##
=======================================
  Coverage   93.24%   93.24%           
=======================================
  Files        1027     1027           
  Lines       59598    59598           
  Branches      400      400           
=======================================
  Hits        55570    55570           
  Misses       4028     4028           
Flag Coverage Δ
conformance 36.75% <100.00%> (+<0.01%) ⬆️
e2e 41.95% <100.00%> (-0.01%) ⬇️
integration 33.16% <100.00%> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.17% <100.00%> (+<0.01%) ⬆️
unit-migrate 92.20% <100.00%> (+<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.

"""NotificationRule Serializer"""

destination_group_obj = GroupSerializer(read_only=True, source="destination_group")
destination_group_obj = GroupSerializer(read_only=True, source="destination_group", required=False, allow_null=True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should probably also be PartialGroupSerializer instead

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Generally agreed. This PR is specifically to backport though, so I'd keep it here.

@github-actions

github-actions Bot commented May 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-d898c1bf0b14c4991b14eecd7d73e6abe8a1a54c
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-d898c1bf0b14c4991b14eecd7d73e6abe8a1a54c

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

@gergosimonyi
gergosimonyi merged commit e220d8e into main May 8, 2026
113 checks passed
@gergosimonyi
gergosimonyi deleted the events/fix-destination-group-object-not-nullable branch May 8, 2026 15:16
@authentik-automation

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.2 has conflicts: #22165

gergosimonyi added a commit that referenced this pull request May 12, 2026
…22161 to version-2026.2) (#22165)

* Cherry-pick #22161 to version-2026.2 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #22161
Original commit: e220d8e

* fix conflicts

---------

Co-authored-by: Simonyi Gergő <[email protected]>
Co-authored-by: Simonyi Gergő <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants