fix(auth): downgrade expected transient states from warn to debug (#11937)

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.
This commit is contained in:
Patryk Kopyciński
2026-08-30 10:27:39 +02:00
committed by GitHub
parent 41f4f83772
commit ff0743071e

View File

@@ -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;
}