Repository navigation
Commit c643018
committed
fix(opencode): a failed background subagent no longer pins its thread
An OpenCode background subagent whose own turn failed never reported back
to its parent, so the adapter kept the call live forever: the thread kept
showing "1 agent working in the background" and a Stop could not clear it,
because the roster is only emptied by the adapter that owns the call.
Settle a background call with the failure when the child's turn ends, so
the provider thread's roster drops it and the thread stops showing an agent
that is gone.
Autonomously generated by opencode/minimax-m3.1-flash-free through the
OpenCode harness in T3 Code.1 parent a71a6c3 commit c643018
2 files changed
Lines changed: 27 additions & 0 deletions
File tree
- apps/server/src/orchestration-v2/Adapters
- packages/provider-opencode/src/server/v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1095 | 1117 | | |
1096 | 1118 | | |
1097 | 1119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1559 | 1564 | | |
1560 | 1565 | | |
1561 | 1566 | | |
| |||
0 commit comments