Skip to content

Commit db21821

Browse files
ChrisJBurnsclaude
andcommitted
Demote hash-change log to DEBUG
Silent-success per .claude/rules/go-style.md: routine state transitions log at DEBUG, INFO is reserved for long-running operations. A noisy INFO on every kubectl-apply that bumps a hash is exactly the case the rule was written to prevent. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d27b0d7 commit db21821

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cmd/thv-operator/controllers/mcpauthzconfig_controller.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ func (r *MCPAuthzConfigReconciler) Reconcile(ctx context.Context, req ctrl.Reque
129129
canonicalSpec := canonicalizeSpecForHash(authzConfig.Spec)
130130
configHash := ctrlutil.CalculateConfigHash(canonicalSpec)
131131
if authzConfig.Status.ConfigHash != configHash {
132-
logger.Info("MCPAuthzConfig configuration changed",
132+
// Routine spec transitions log at DEBUG per the silent-success rule
133+
// in .claude/rules/go-style.md.
134+
logger.V(1).Info("MCPAuthzConfig configuration changed",
133135
"oldHash", authzConfig.Status.ConfigHash,
134136
"newHash", configHash)
135137
}

0 commit comments

Comments
 (0)