From 0619272bfa83600eb105adad32c19205a761f3ee Mon Sep 17 00:00:00 2001 From: Anthony Ronning <101225832+AnthonyRonning@users.noreply.github.com> Date: Tue, 6 Oct 2026 07:46:51 +0000 Subject: [PATCH] Give Agent session isolation test a CI-safe hang deadline --- apps/maple-research/frontend/src-tauri/src/agent.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/maple-research/frontend/src-tauri/src/agent.rs b/apps/maple-research/frontend/src-tauri/src/agent.rs index 5167e5950..78433a2e4 100644 --- a/apps/maple-research/frontend/src-tauri/src/agent.rs +++ b/apps/maple-research/frontend/src-tauri/src/agent.rs @@ -16844,7 +16844,10 @@ mod tests { steered_unacked: Arc::new(Mutex::new(Vec::new())), })); - let outcome = tokio::time::timeout(std::time::Duration::from_secs(1), prompt_task) + // This is a lock-isolation check, not a one-second latency budget. + // Keep the unrelated lock held through completion, but allow Goose's + // session/database I/O time to finish on a loaded CI runner. + let outcome = tokio::time::timeout(std::time::Duration::from_secs(10), prompt_task) .await .expect("an unrelated lifecycle holder must not block the first provider poll") .unwrap()