From e9c4e39ed9013bc998f92dd16401e1a18e773402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Sibiril?= <81782+aureliensibiril@users.noreply.github.com> Date: Sat, 23 May 2026 12:10:43 +0200 Subject: [PATCH] Log instance name resolution failures as warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provider 4xx on an instance-name lookup is rarely actionable -- it usually reflects a configuration state (deleted org, revoked token) rather than a system error worth paging on. Downgrade Probo's own log entry to Warn. The kit/worker entry for the same failure is still Error pending the retry-limit work, which will mark sources synced after N attempts and stop the duplicate log line. Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com> --- pkg/accessreview/source_name_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/accessreview/source_name_worker.go b/pkg/accessreview/source_name_worker.go index 2d22c712d..57b6e96d7 100644 --- a/pkg/accessreview/source_name_worker.go +++ b/pkg/accessreview/source_name_worker.go @@ -166,7 +166,7 @@ func (h *sourceNameHandler) Process(ctx context.Context, source coredata.AccessS instanceName, err := resolver.ResolveInstanceName(resolveCtx) if err != nil { - h.logger.ErrorCtx( + h.logger.WarnCtx( ctx, "cannot resolve instance name", log.String("source_id", source.ID.String()),