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
Task child session can exist without metadata.sessionId after interruption, leaving web UI unable to show subagent activity #22348
When the Task tool spawns a child session, the child can already exist in /session/{parentID}/children, but the parent task part can still finish as interrupted/aborted without preserving metadata.sessionId.
In the Web UI this makes delegated work look silent/frozen, because the parent task card cannot follow the child session even though the child session already exists and may already contain messages.
This seems related to #21802 and #21979, but the specific issue here is the missing parent-child linkage metadata after interruption.
Plugins
None.
OpenCode version
1.4.2
Steps to reproduce
Start a normal Web UI session.
Let the main agent use the task tool to spawn a subagent.
Hit an interrupted/aborted path for that delegated task.
Compare the parent session timeline with GET /session/{parentID}/children.
Observe that the child session exists and may already contain messages, but the parent task part has no metadata.sessionId, so the Web UI cannot surface the delegated activity.
Screenshot and/or share link
No share link yet.
Example parent task state captured from a real session:
This issue does not use one of the three required issue templates (Bug Report, Feature Request, or Question). Please re-submit or edit the issue using the appropriate template — in this case, the Bug Report template.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
ACP clients cannot see subagent activity from Task tool #21802: ACP clients cannot see subagent activity from Task tool — also covers child session activity being invisible to clients, though from the ACP client angle rather than the interrupted metadata path specifically.
Activity
github-actions commentedon Apr 13, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Apr 13, 2026
Thanks for updating the issue! It now follows the contributing guidelines and the Bug Report template correctly. The compliance flag has been removed.
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.