nikivdev/code · error
timed out waiting for Everruns output after {}s
Error message
timed out waiting for Everruns output after {}s What it means
Error "timed out waiting for Everruns output after {}s" thrown in nikivdev/code.
Source
Thrown at src/ai_everruns.rs:177
fn wait_for_completion_sse(
api: &EverrunsApi,
seq_bridge: &SeqBridge,
session_id: &str,
input_message_id: &str,
prompt: &str,
poll_ms: u64,
wait_timeout_secs: u64,
) -> Result<()> {
let started = Instant::now();
let timeout = Duration::from_secs(wait_timeout_secs.max(1));
let mut since_id: Option<String> = None;
let mut handled_tool_calls = HashSet::new();
let mut saw_stream = false;
loop {
if started.elapsed() > timeout {
bail!(
"timed out waiting for Everruns output after {}s",
wait_timeout_secs
);
}
let remaining = timeout.saturating_sub(started.elapsed());
let stream_timeout = remaining
.min(Duration::from_secs(70))
.max(Duration::from_secs(1));
let batch = match api.read_sse_batch(session_id, since_id.as_deref(), stream_timeout) {
Ok(batch) => {
saw_stream = true;
batch
}
Err(err) => {
if !saw_stream && is_sse_unavailable_error(&err) {
return Err(err);View on GitHub (pinned to a747e741ae)
When it happens
Trigger: Thrown at src/ai_everruns.rs:177 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 nikivdev/code@a747e741ae (2026-09-01).
Data as JSON: /api/errors/8f5b70785084586e.
Report an issue: GitHub.