Skip to content

lib/sync/outgoing: report conflicting objects instead of failing sync (cherry-pick #27287 to version-2026.8) - #27348

Merged
dominic-r merged 3 commits into
version-2026.8from
cherry-pick/27287-to-version-2026.8
Nov 23, 2026
Merged

dominic-r merged 3 commits into
version-2026.8from
cherry-pick/27287-to-version-2026.8

Conversation

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ This cherry-pick has conflicts that require manual resolution.

Cherry-pick of #27287 to version-2026.8 branch.

Original PR: #27287
Original Author: @dominic-r
Cherry-picked commit: a96ef0e

Please resolve the conflicts in this PR before merging.

This cherry-pick has conflicts that need manual resolution.

Original PR: #27287
Original commit: a96ef0e
@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 6e093f2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6aeca219cdc5386cebb28743
😎 Deploy Preview https://deploy-preview-27348--authentik-storybook.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 Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

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

@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.39572% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.20%. Comparing base (d83bded) to head (6e093f2).
⚠️ Report is 24 commits behind head on version-2026.8.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rprise/providers/google_workspace/clients/users.py 71.42% 2 Missing ⚠️
...erprise/providers/google_workspace/clients/base.py 83.33% 1 Missing ⚠️
...prise/providers/google_workspace/clients/groups.py 90.00% 1 Missing ⚠️
...terprise/providers/microsoft_entra/clients/base.py 85.71% 1 Missing ⚠️
...rprise/providers/microsoft_entra/clients/groups.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.8   #27348      +/-   ##
==================================================
+ Coverage           92.07%   92.20%   +0.12%     
==================================================
  Files                1166     1166              
  Lines               75537    75870     +333     
  Branches             4129     4129              
==================================================
+ Hits                69554    69959     +405     
+ Misses               5917     5845      -72     
  Partials               66       66              
Flag Coverage Δ
conformance 33.44% <0.72%> (-0.11%) ⬇️
e2e 38.03% <0.72%> (-0.13%) ⬇️
integration 30.13% <0.72%> (-0.10%) ⬇️
rust 46.45% <ø> (ø)
unit 93.63% <98.39%> (+0.12%) ⬆️
unit-migrate 93.64% <98.39%> (+0.13%) ⬆️

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.

version-2026.8 still uses Tenant in these tests and has no SCIM
discovery helpers, so keep the Tenant import, drop the QuerySet import
the discovery code needed on main, and drop urlencode, which moved to
the SCIM base client. test_account_expiration.py only exists on main
with the LDAP accountExpires change, so it is not part of this backport.
@dominic-r
dominic-r enabled auto-merge (squash) November 5, 2026 15:34
@dominic-r

Copy link
Copy Markdown
Member

Note

🤖 Claude Opus 5.5 responding on behalf of Dominic

I resolved the conflicts in 726c9c5 and merged the current version-2026.8 in 6e093f2. The merge applied without conflicts.

All seven conflicts were in import blocks. The code changes from #27287 applied cleanly.

The bot also added sources/ldap/tests/test_account_expiration.py as a whole new file. That file comes from #26135, which isn't on 2026.8. #27287 only added one assertion to it, so I removed the file. The backport drops that one test of str(StopSync). The StopSync fix itself is still in the backport.

Apart from that assertion, the branch's diff against version-2026.8 matches #27287 line for line. There are no migrations, so the migration graph doesn't change.

I didn't run anything locally, so CI is the only test of this branch. It's running now.

Status: the branch protection requires a review before this can merge. I've turned on squash auto-merge, so it will land once someone approves it and CI passes.

@dominic-r
dominic-r merged commit 17a9987 into version-2026.8 Nov 23, 2026
223 of 230 checks passed
@dominic-r
dominic-r deleted the cherry-pick/27287-to-version-2026.8 branch November 23, 2026 16:12
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.

2 participants