Repository navigation
Commit bf023b2
committed
fix(sandbox): keep a workbench timeout report when its stop settles after the call deadline
A workbench run stopped by its own timeout reports its output and files, but
both run paths checked the call signal before the report. When the provider's
stop round trip outlasted the report reserve, the call deadline had already
passed and the run returned a bare timeout with its output dropped.
- The cancellation check moves into throwIfRunTimedOut: a passed deadline
keeps the report, a cancellation at any point stays a cancellation
- One-shot sandboxes and runs that did not time out keep their checks1 parent a2495e3 commit bf023b2
2 files changed
Lines changed: 63 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
311 | 316 | | |
312 | | - | |
313 | | - | |
314 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
315 | 322 | | |
316 | 323 | | |
317 | 324 | | |
| |||
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
327 | | - | |
328 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
329 | 340 | | |
330 | 341 | | |
331 | 342 | | |
| |||
339 | 350 | | |
340 | 351 | | |
341 | 352 | | |
342 | | - | |
343 | | - | |
| 353 | + | |
344 | 354 | | |
345 | 355 | | |
346 | 356 | | |
| |||
1092 | 1102 | | |
1093 | 1103 | | |
1094 | 1104 | | |
1095 | | - | |
1096 | 1105 | | |
1097 | 1106 | | |
1098 | 1107 | | |
| |||
1316 | 1325 | | |
1317 | 1326 | | |
1318 | 1327 | | |
1319 | | - | |
1320 | 1328 | | |
1321 | 1329 | | |
1322 | 1330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
1170 | 1216 | | |
1171 | 1217 | | |
1172 | 1218 | | |
| |||
0 commit comments