test(cli): allow slower ACP responses in CI

This commit is contained in:
marius-kilocode
2026-06-23 11:24:35 +02:00
parent 784b5b8839
commit 741468ff95
2 changed files with 2 additions and 2 deletions
@@ -44,7 +44,7 @@ export function createAcpClient(acp: AcpHandle): AcpClient {
yield* acp.send(message)
while (true) {
const received = yield* acp.receive.pipe(Effect.timeout(Duration.seconds(15)))
const received = yield* acp.receive.pipe(Effect.timeout(Duration.seconds(30))) // kilocode_change
if (isJsonRpcResponse<T>(received) && received.id === id) return received
}
})
@@ -18,7 +18,7 @@ describe("opencode acp lifecycle subprocess", () => {
const acp = yield* opencode.acp()
acp.close()
const code = yield* Effect.promise(() => acp.exited).pipe(Effect.timeout(Duration.seconds(5)))
const code = yield* Effect.promise(() => acp.exited).pipe(Effect.timeout(Duration.seconds(15))) // kilocode_change
expect(code).toBe(0)
}),
60_000,