fix(qa): drain fanout child completions · openclaw/openclaw@e457c4c
vincentkoc
·
2026-06-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -47,6 +47,9 @@ scenario:
|
47 | 47 | expectedChildLabels: |
48 | 48 | - qa-fanout-alpha |
49 | 49 | - qa-fanout-beta |
| 50 | +expectedChildCompletionMarkers: |
| 51 | + - ALPHA-OK |
| 52 | + - BETA-OK |
50 | 53 | |
51 | 54 | flow: |
52 | 55 | steps: |
@@ -149,6 +152,18 @@ flow:
|
149 | 152 | expr: "fanoutSpawnRequests.length >= 2" |
150 | 153 | message: |
151 | 154 | expr: "`expected at least two sessions_spawn tool calls during subagent fanout scenario, saw ${fanoutSpawnRequests.length}`" |
| 155 | + - forEach: |
| 156 | +items: |
| 157 | +expr: "config.expectedChildCompletionMarkers" |
| 158 | +item: childCompletionMarker |
| 159 | +actions: |
| 160 | + - call: waitForOutboundMessage |
| 161 | +args: |
| 162 | + - ref: state |
| 163 | + - lambda: |
| 164 | +params: [candidate] |
| 165 | +expr: "String(candidate.text ?? '').trim() === childCompletionMarker" |
| 166 | + - 10000 |
152 | 167 | - set: details |
153 | 168 | value: |
154 | 169 | expr: "outbound.text" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。