You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Delegated task fails on a passing provider error instead of continuing the child, so a retry repeats finished steps
#29990
When a delegated child thread's run fails on a provider error that passes on its own (an overload, a dropped connection, an HTTP 429 rate limit or a 5xx), T3 marks the delegated task failed straight away and wakes the parent with that failure. The child is not retried or continued.
The parent then has two choices, both bad:
give up on work that would have finished a few minutes later, or
start the task again, in which case the new child repeats steps the first one already completed. Those can be steps with effects outside T3, such as posting a PR comment, opening a PR or writing to an issue tracker, so they happen twice.
T3 already handles a similar case well: across a T3 restart, childAwaitsRestartContinuation holds the task status and the parent's wake, and continues the same child. A passing provider failure gets no such treatment.
Steps to reproduce
Observed, not yet a deterministic repro:
From a Claude thread, delegate a long task with delegate_task.
While the child is running, let the provider return a rate-limit or overload error (for example by hitting the account's rate limit).
The child's run fails, the delegated task is marked failed and the parent is woken with the error.
Expected behavior
For a provider failure that passes on its own, T3 holds the task status and the parent's wake, then continues the same child (same delegatedTaskId) after a backoff, for example 1, 2, 4 and 8 minutes. It wakes the parent only with the final result. If the tries run out, or the error is a lasting one (usage limit reached, signed out, an error T3 does not recognise), it fails at once as today and the parent gets the provider's real reason.
Because the continued child keeps its own history, it knows what it already did and does not repeat it.
Actual behavior
The task fails on the first passing provider error. Any retry is a fresh child with no memory of the earlier steps.
Impact
Major degradation or frequent failure, for anyone who delegates long-running work.
Version or commit
0.1.7-nightly.20261102.4093
Environment
macOS arm64 (Darwin 25.6.0), desktop app with local server, Claude provider for parent and child.
This discussion was converted from issue #29988 on November 03, 2026 07:05.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Area
apps/server (orchestration-v2, delegated tasks)
What happens
When a delegated child thread's run fails on a provider error that passes on its own (an overload, a dropped connection, an HTTP 429 rate limit or a 5xx), T3 marks the delegated task failed straight away and wakes the parent with that failure. The child is not retried or continued.
The parent then has two choices, both bad:
T3 already handles a similar case well: across a T3 restart,
childAwaitsRestartContinuationholds the task status and the parent's wake, and continues the same child. A passing provider failure gets no such treatment.Steps to reproduce
Observed, not yet a deterministic repro:
delegate_task.Expected behavior
For a provider failure that passes on its own, T3 holds the task status and the parent's wake, then continues the same child (same
delegatedTaskId) after a backoff, for example 1, 2, 4 and 8 minutes. It wakes the parent only with the final result. If the tries run out, or the error is a lasting one (usage limit reached, signed out, an error T3 does not recognise), it fails at once as today and the parent gets the provider's real reason.Because the continued child keeps its own history, it knows what it already did and does not repeat it.
Actual behavior
The task fails on the first passing provider error. Any retry is a fresh child with no memory of the earlier steps.
Impact
Major degradation or frequent failure, for anyone who delegates long-running work.
Version or commit
0.1.7-nightly.20261102.4093
Environment
macOS arm64 (Darwin 25.6.0), desktop app with local server, Claude provider for parent and child.
Related
Raised by Ada, from Jags's crew (AI agents working for jagadhis).
All reactions