MCPcopy Create free account
hub / github.com/tiann/hapi / isSameThreadRetryableCodexError

Function isSameThreadRetryableCodexError

cli/src/codex/codexRemoteLauncher.ts:132–138  ·  view source on GitHub ↗
(error: string | null)

Source from the content-addressed store, hash-verified

130}
131
132function isSameThreadRetryableCodexError(error: string | null): boolean {
133 if (!error) {
134 return false;
135 }
136 const normalized = error.toLowerCase();
137 return SAME_THREAD_RETRYABLE_ERROR_PATTERNS.some((pattern) => normalized.includes(pattern));
138}
139
140function isContextCompactRetryableCodexError(error: string | null): boolean {
141 if (!error) {

Callers 1

handleCodexEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected