diegosouzapw/OmniRoute · error · RecordedTriageTimeoutError
Issue Agent triage timed out after
Error message
Issue Agent triage timed out after ${timeoutMs}ms What it means
executeRecordedTriageChatCompletion(): the fetch to the triage chat-completions endpoint was aborted by the AbortController timeout and the AbortError is translated into a RecordedTriageTimeout carrying the configured timeoutMs.
Solutions
- Raise timeoutMs for large issue/comment volumes
- Reduce the digest payload sent to the triage model
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/lib/issueAgent/execution.ts:108 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Timeouts: ETIMEDOUT, deadlines, and hung requests — what actually expires when a request times out.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/77a9b4fea87c11d7.
Report an issue: GitHub.
Appendix: source
Thrown at src/lib/issueAgent/execution.ts:108
signal: controller.signal,
headers: {
"Content-Type": "application/json",
...(routingPolicy ? { "X-OmniRoute-Mode": routingPolicy } : {}),
},
body: JSON.stringify({
model: resolveModel(input),
messages: buildMessages(input.run),
max_tokens: 1200,
temperature: 0,
stream: false,
}),
})
);
return { status: response.status, body: await response.json() };
} catch (error) {
if (error instanceof Error && error.name === "AbortError") {
throw new RecordedTriageTimeoutError(timeoutMs);
}
throw error;
} finally {
clearTimeout(timeout);
}
}
View on GitHub (pinned to a179ffed5b)