From ff0743071e27ab91c4c35f9a21aaa01bcb804baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kopyci=C5=84ski?= Date: Sun, 30 Aug 2026 10:27:39 +0200 Subject: [PATCH] fix(auth): downgrade expected transient states from warn to debug (#11937) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Boarded with 8 other PRs in one combined worktree: typecheck:core, check:file-size, check:changelog-integrity, check:complexity, check:cognitive-complexity, check:cycles, check-native-deps all green; 75/75 focused tests pass. Trivial, correct log-level fix — both conditions are already handled gracefully by callers. Thanks. --- src/sse/services/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sse/services/auth.ts b/src/sse/services/auth.ts index dea088ba3c..5d315fb13d 100644 --- a/src/sse/services/auth.ts +++ b/src/sse/services/auth.ts @@ -1412,7 +1412,7 @@ export async function getProviderCredentials( retryAfterHuman: formatRetryAfter(earliest), }; } - log.warn("AUTH", `${provider} | ${allConnections.length} accounts found but none active`); + log.debug("AUTH", `${provider} | ${allConnections.length} accounts found but none active`); allConnections.forEach((c) => { log.debug( "AUTH", @@ -1463,7 +1463,7 @@ export async function getProviderCredentials( return geminiEnvCredentials; } invalidateManagedLease(options, "CONNECTION_INELIGIBLE"); - log.warn("AUTH", `No credentials for ${provider}`); + log.debug("AUTH", `No credentials for ${provider}`); return null; }