fix(delegate-task): extend default sync poll timeout to 30 minutes

Keep synchronous subagent runs from timing out after 10 minutes when no explicit override is configured.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-03-12 01:14:26 +09:00
parent f6125c5efa
commit 6d5175b9b0
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -3,6 +3,17 @@ const { describe, expect, test } = require("bun:test")
import { __resetTimingConfig, __setTimingConfig, getDefaultSyncPollTimeoutMs } from "./timing"
describe("timing sync poll timeout defaults", () => {
test("default sync timeout is 30 minutes", () => {
// #given
__resetTimingConfig()
// #when
const timeout = getDefaultSyncPollTimeoutMs()
// #then
expect(timeout).toBe(30 * 60 * 1000)
})
test("default sync timeout accessor follows MAX_POLL_TIME_MS config", () => {
// #given
__resetTimingConfig()