fix: extend heartbeat timeout to prevent stalls during sub-agent execution (#108)

* fix: extend heartbeat timeout to prevent stalls during sub-agent execution

* feat: add /pr command for creating pull requests with conventional commits
This commit is contained in:
Arjun Malleswaran
2026-02-09 10:58:03 -08:00
committed by GitHub
parent 2e9ee2a11e
commit 9809c769e3
2 changed files with 35 additions and 3 deletions
+3 -3
View File
@@ -70,14 +70,14 @@ const TESTING_RETRY = {
// Activity proxy with production retry configuration (default)
const acts = proxyActivities<typeof activities>({
startToCloseTimeout: '2 hours',
heartbeatTimeout: '10 minutes', // Long timeout for resource-constrained workers with many concurrent activities
heartbeatTimeout: '60 minutes', // Extended for sub-agent execution (SDK blocks event loop during Task tool calls)
retry: PRODUCTION_RETRY,
});
// Activity proxy with testing retry configuration (fast)
const testActs = proxyActivities<typeof activities>({
startToCloseTimeout: '10 minutes',
heartbeatTimeout: '5 minutes', // Shorter for testing but still tolerant of resource contention
startToCloseTimeout: '30 minutes',
heartbeatTimeout: '30 minutes', // Extended for sub-agent execution in testing
retry: TESTING_RETRY,
});