The GitHub Actions job "Build" on 
jackrabbit-oak.git/OAK-12079-respect-depth-zero has failed.
Run started by GitHub user michaelmarth (triggered by michaelmarth).

Head commit for run:
c6fbfd99b4c35b0d8ee6802b38a44d7156a75e5b / Michael Marth 
<[email protected]>
OAK-12079: Handle membershipNestingDepth <= 0 in DynamicSyncContext

When membershipNestingDepth is set to 0 or negative, the dynamic membership
sync should disable group membership lookup from the IDP while still properly
migrating from regular to dynamic membership tracking.

The fix ensures that:
- REP_EXTERNAL_PRINCIPAL_NAMES is set to an empty array (no groups)
- Existing stored membership information is cleared when migrating
- No group memberships are resolved from the IDP
- Cleanup checks are performed before setting properties

Test expectations updated to verify that when depth=0:
- Users are not members of any external groups
- Stored membership is properly cleared
- Dynamic membership tracking is established with empty group list

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/22260707014

With regards,
GitHub Actions via GitBox

Reply via email to