fix(delegate-task): clarify sync inactivity timeout

This commit is contained in:
YeonGyu-Kim
2026-05-10 15:54:29 +09:00
parent 50699e3af1
commit eef62cc4f2
6 changed files with 31 additions and 10 deletions
@@ -100,7 +100,7 @@ describe("pollSyncSession", () => {
}, 50)
// then: times out (ignores stale error)
expect(result).toContain("Poll timeout reached")
expect(result).toContain("Poll inactivity timeout reached")
})
test("detects completion when assistant message has terminal finish reason", async () => {
@@ -459,7 +459,7 @@ describe("pollSyncSession", () => {
}, 0)
// then: returns timeout error
expect(result).toBe("Poll timeout reached after 50ms for session ses_timeout")
expect(result).toBe("Poll inactivity timeout reached after 50ms without active OpenCode status for session ses_timeout")
expect(abortCount).toBe(1)
})
})