Commit e3671e8
committed
fix(execution): stop offloading state the engine consumes structurally
Compacting a loop's `items` was a regression: the orchestrator indexes that
collection to derive the current `item`, the resume path rebuilds the scope
verbatim without materializing anything, and the loop resolver asserts no refs
reach it — so an oversized forEach would have traded a failed pause for a
broken resume. `currentIterationOutputs` is excluded for the same reason: the
block executor has already compacted its entries, and they resolve through the
reference path rather than being read raw.
Offloading is now limited to exactly the accumulators the orchestrators
themselves compact when a subflow exits. An oversized `items` collection
therefore still fails the pause; that is the honest outcome until it can be
handled without breaking iteration.1 parent 1f833ee commit e3671e8
2 files changed
Lines changed: 18 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
304 | 309 | | |
305 | 310 | | |
306 | | - | |
307 | 311 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 312 | | |
317 | | - | |
318 | | - | |
319 | | - | |
| 313 | + | |
| 314 | + | |
320 | 315 | | |
321 | 316 | | |
322 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | 271 | | |
279 | 272 | | |
280 | 273 | | |
281 | 274 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | 275 | | |
286 | 276 | | |
287 | 277 | | |
| |||
0 commit comments