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
Resuming an Action whose owner ended says there was no follow-up to resume #802
Follow-up F3 from PR #779 (merged as e2a195b2296), local review round 2 (Opus finding N1; same point as Terra R5), declined as a nit.
Claim
ActionResume.ts:1370-1375: when someone resumes a child-owned interrupted Action after its owning task has ended, delivery disposes the follow-up (which frees new launches), and resumeInterruptedImpl then fails with "This thread has no interrupted Action follow-up to resume." A follow-up did exist; it was just dropped.
The WebSocket path shares this code, so web and mobile show "Could not resume agent" with that text while the banner disappears.
Why declined
Nit: the typed action_not_recoverable error is correct and more honest than the previous silent success; only the copy is misleading.
Symptom if left
An agent (via resume_interrupted_action) or a user (via Resume agent) reads the message as "nothing to recover" and may assume Actions are still blocked, or that the result was lost for some other reason.
Suggested fix
When the post-delivery state is disposed, return a distinct message with the same reason, e.g. "The Action's owning task has ended, so its follow-up was dropped instead of resumed. New Actions can launch."
Activity