fix: stop Codex pool retry loops

This commit is contained in:
ejclaw
2026-06-02 05:29:32 +09:00
parent 03d4c81192
commit 5648b61075
16 changed files with 369 additions and 24 deletions

View File

@@ -193,7 +193,7 @@ function syncHostCodexSessionFiles(
lease?.release();
if (hasRotationAccounts) {
throw new Error(
'auth-expired: All Codex rotation accounts unavailable; re-auth required before launching Codex',
'Codex rotation pool unavailable: all rotation accounts are currently dead, rate-limited, or locked; re-auth or clear stale state before launching Codex',
);
}
return null;