-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[TT-16336] Warn if policy ID duplicated in single Org #7680
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
base: master
Are you sure you want to change the base?
Conversation
|
This PR introduces a warning mechanism to detect and log when multiple policies within the same organization share an identical ID. This helps administrators identify configuration issues that could otherwise lead to unpredictable behavior. Files Changed Analysis
Architecture & Impact Assessment
graph TD
A[Gateway Initialization] --> B{model.NewPolicies};
B -- WithInternalCollision option --> C[Policies Store];
D[Policy Reload] --> C;
C -- Duplicated Policy ID detected --> E{Collision Handler Callback};
E --> F[Log Warning];
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-01-30T09:12:50.759Z | Triggered by: pr_updated | Commit: fc2f4ba 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Architecture Check PassedNo architecture issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-01-30T09:12:54.167Z | Triggered by: pr_updated | Commit: fc2f4ba 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
741e87e to
bd84aaa
Compare
|
8b2a91c to
fc2f4ba
Compare


Description
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
Ticket Details
TT-16336
Generated at: 2026-01-30 09:09:09