relax task timeouts: stale timeout 3min→20min, session wait 30s→1min

This commit is contained in:
YeonGyu-Kim
2026-03-17 16:27:00 +09:00
parent 90351e442e
commit b788586caf
5 changed files with 36 additions and 6 deletions
@@ -3027,10 +3027,10 @@ describe("BackgroundManager.checkAndInterruptStaleTasks", () => {
prompt: "Test",
agent: "test-agent",
status: "running",
startedAt: new Date(Date.now() - 300_000),
startedAt: new Date(Date.now() - 25 * 60 * 1000),
progress: {
toolCalls: 1,
lastUpdate: new Date(Date.now() - 200_000),
lastUpdate: new Date(Date.now() - 21 * 60 * 1000),
},
}