Skip to content

Exempt task tool from the generic tool-execution watchdog - #501

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-6773-sub-agents-die-at-the-generic-11-minute-tool-execution
Aug 22, 2026
Merged

Exempt task tool from the generic tool-execution watchdog#501
TheGreatAxios merged 1 commit into
mainfrom
cl-6773-sub-agents-die-at-the-generic-11-minute-tool-execution

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

The task tool ran an entire sub-agent under the same per-tool wall-clock watchdog as every other tool (default 660s), so workers needing more than 11 minutes were aborted mid-run and reported as cancelled. resolveToolExecutionTimeoutMs now returns undefined for task calls, leaving the sub-agent's own bounds (maxTurns, no-progress, thrash, opt-in deadlineMs) as the operative limits. The opt-in deadline is no longer clamped under an outer watchdog that no longer applies, and a regression test covers a slow-but-progressing task run outlasting the generic budget.

Fixes CL-6773
https://linear.app/abklabs/issue/CL-6773

@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

CL-6773

The task tool runs an entire sub-agent that carries its own bounds
(maxTurns, no-progress, thrash, opt-in deadlineMs). The uniform per-tool
wall-clock budget (default 660s) aborted healthy workers past 11 minutes
through the cancel path. resolveToolExecutionTimeoutMs now returns
undefined for task calls, and the opt-in sub-agent deadline is no longer
clamped under an outer watchdog that no longer applies.
@TheGreatAxios
TheGreatAxios force-pushed the cl-6773-sub-agents-die-at-the-generic-11-minute-tool-execution branch from 523cd6c to 841f374 Compare August 22, 2026 20:18
@TheGreatAxios
TheGreatAxios merged commit 2b523c2 into main Aug 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant