-
Notifications
You must be signed in to change notification settings - Fork 211
chore: Configure ProcessACL for async enumerable ACE collection #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe update refactors how ACL processing results are handled in object processing methods. Instead of deconstructing a returned tuple, the code now awaits an asynchronous enumerable, collects ACEs into an array, and computes boolean flags using predicates. Several unused Changes
Estimated code review effort2 (~15 minutes) Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (14)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Returning ProcessACL to return an IAsyncEnumerable for deferred collection processing as it had been before.
This may help resolves issues of memory spikes.
Additionally, moving the aggregate property doesanyacegrantownerrights from the parent domain object and attaching to the ACE instead as IsPermissionForOwnerRightsSid as this is more reflective of an ACE's properties than of the parent.
Motivation and Context
Investigating a large memory spike https://bloodhoundhq.slack.com/archives/C20NG2L87/p1751305729336129
How Has This Been Tested?
Local testing on ESC 10 lab
Screenshots (if appropriate):
Types of changes
Checklist:
Summary by CodeRabbit