Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pkg/sync/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,13 @@ func (s *syncer) SyncGrantExpansion(ctx context.Context) error {
zap.Any("cycle", comps[0]),
zap.Any("scc_metrics", sccMetrics),
)
l.Debug("initial graph", zap.Any("initial graph", entitlementGraph))
l.Debug("initial graph stats",
zap.Int("edges", len(entitlementGraph.Edges)),
zap.Int("nodes", len(entitlementGraph.Nodes)),
zap.Int("actions", len(entitlementGraph.Actions)),
zap.Int("depth", entitlementGraph.Depth),
zap.Bool("has_no_cycles", entitlementGraph.HasNoCycles),
)
if dontFixCycles {
return fmt.Errorf("cycles detected in entitlement graph")
}
Expand Down
Loading