Skip to content

Conversation

@aditya-gupta36
Copy link
Contributor

What changes were proposed in this pull request?

Before fix:
skipAuditEntries(): false → audit processing proceeds
EntityAuditListenerV2.onEntitiesAdded appears → audit entries created

After fix:
skipAuditEntries(): true (allInternal=true) → early exit
No notifyV2Listeners log → processing skipped
No EntityAuditListenerV2.onEntitiesAdded log → no audit entries created

How was this patch tested?

@aditya-gupta36 aditya-gupta36 marked this pull request as ready for review December 3, 2025 07:43
@chaitalicod chaitalicod self-requested a review December 19, 2025 05:51
return true;
}

// Skip audit if ALL entities are internal types (__AtlasAuditEntry, __AtlasMetricsStat, etc.)
Copy link
Contributor

Choose a reason for hiding this comment

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

check if you can make your comments more precise and short?

Copy link
Contributor

@chaitalicod chaitalicod left a comment

Choose a reason for hiding this comment

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

Please update the section for testing
How was this patch tested?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants