Repository navigation
Commit 778bd6a
committed
test(subagents): stabilize completion recovery after restore replay (#133058)
The restore replay is canonical bookkeeping: it publishes the blocked
alert/follow-up, not the retained provider result, and completion
retry/dismiss resolve by exact task-run identity without gating on
task.deliveryStatus (admission validates a freshly projected
session_queued generation, not the stored row). The recovery-identity
and admission-store tests captured pre-replay rows and raced the
startup replay; settle the replay deterministically before capturing
baselines and assert the exact canonical post-replay task state.
Also type the replay catch callback parameter as unknown
(use-unknown-in-catch-callback-variable).1 parent 5d607eb commit 778bd6a
3 files changed
Lines changed: 41 additions & 7 deletions
File tree
- src
- agents/subagents/completion
- tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
136 | 154 | | |
137 | 155 | | |
138 | 156 | | |
| |||
389 | 407 | | |
390 | 408 | | |
391 | 409 | | |
392 | | - | |
| 410 | + | |
393 | 411 | | |
394 | 412 | | |
395 | 413 | | |
| |||
403 | 421 | | |
404 | 422 | | |
405 | 423 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
410 | 428 | | |
411 | 429 | | |
412 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
105 | 116 | | |
106 | 117 | | |
107 | 118 | | |
| |||
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| 129 | + | |
118 | 130 | | |
119 | 131 | | |
120 | 132 | | |
| |||
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
151 | 166 | | |
152 | 167 | | |
153 | 168 | | |
| |||
186 | 201 | | |
187 | 202 | | |
188 | 203 | | |
| 204 | + | |
189 | 205 | | |
190 | 206 | | |
191 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments