Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test: allow the embedded server startup budget

Steven Enamakel998cce1433c2
diff --git a/tests/embedded_server_shutdown_e2e.rs b/tests/embedded_server_shutdown_e2e.rs
index 55f5c2cc98..a89632c4d9 100644
--- a/tests/embedded_server_shutdown_e2e.rs
+++ b/tests/embedded_server_shutdown_e2e.rs
@@ -86,7 +86,10 @@ async fn shutdown_token_stops_listener() {
let (ready_tx, ready_rx) = tokio::sync::oneshot::channel();
let server = tokio::spawn(serve_desktop(builder, server_token, ready_tx));
- let ready = match tokio::time::timeout(Duration::from_secs(30), ready_rx).await {
+ // Full desktop bootstrap can exceed 30s on a cold CI runner while the
+ // module search path and background services initialize. Match the host's
+ // 60s core-ready budget; this test is about shutdown after readiness.
+ let ready = match tokio::time::timeout(Duration::from_secs(60), ready_rx).await {
Ok(Ok(ready)) => ready,
Ok(Err(_)) => {
let result = server.await.expect("embedded server task should not panic");