diff --git a/packages/coding-agent/src/tools/browser/launch.ts b/packages/coding-agent/src/tools/browser/launch.ts index 3019a69b3..3e0e36abc 100644 --- a/packages/coding-agent/src/tools/browser/launch.ts +++ b/packages/coding-agent/src/tools/browser/launch.ts @@ -214,8 +214,7 @@ async function isChromiumExecutable(p: string): Promise { }); const stdout = await Promise.race([ new Response(proc.stdout).text(), - proc.exited.then(() => null), - Bun.sleep(probeTimeoutMs).then(() => null), + Bun.sleep(probeTimeoutMs + 500).then(() => null), ]); if (stdout === null) return false; await proc.exited;