-
Notifications
You must be signed in to change notification settings - Fork 4
Remove initial graph log, output is excessive and not useful #494
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
WalkthroughReplaces a debug log that dumped the full entitlement graph in SyncGrantExpansion with a debug log that reports discrete graph statistics (edges, nodes, actions, depth, has_no_cycles). No control flow, cycle handling, or exported APIs were changed. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
pkg/sync/syncer.go(1 hunks)
🧰 Additional context used
🪛 GitHub Check: go-lint
pkg/sync/syncer.go
[failure] 1420-1420:
commentFormatting: put a space between // and comment text (gocritic)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Cursor Bugbot
- GitHub Check: Cursor Bugbot
- GitHub Check: go-test (1.25.x, windows-latest)
Note
Replace verbose entitlement graph debug log with concise stats (edges, nodes, actions, depth, has_no_cycles) during cycle detection.
pkg/sync/syncer.go(SyncGrantExpansion), replace fullentitlementGraphdebug dump with concise metrics:edges,nodes,actions,depth, andhas_no_cycles.Written by Cursor Bugbot for commit 4bab008. This will update automatically on new commits. Configure here.
Summary by CodeRabbit