Commit 4b6f07e
Fix exitStagingMode for rehydrated containers (#16)
* Fix exitStagingMode for rehydrated containers
When a container is rehydrated from pending state while in staging mode,
the DataObject doesn't have stageControls (only set when enterStagingMode
is called). Handle this gracefully by returning early instead of asserting.
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: anthony-murphy <[email protected]>
* Fix exitStagingMode for rehydrated containers by using loadContainerRuntimeAlpha
- Use loadContainerRuntimeAlpha which returns stageControls when loading from pending state
- Pass stageControls to DefaultStressDataObject via setStageControls method
- Restore the assert in exitStagingMode since we now have proper stage controls
- Ensures rehydrated containers can properly exit staging mode
Co-Authored-By: anthony-murphy <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
---------
Co-authored-by: anthony-murphy-agent <[email protected]>
Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: anthony-murphy <[email protected]>1 parent 2e83ddd commit 4b6f07e
File tree
1 file changed
+29
-3
lines changed- packages/test/local-server-stress-tests/src
1 file changed
+29
-3
lines changedLines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
304 | 313 | | |
305 | 314 | | |
306 | 315 | | |
| |||
350 | 359 | | |
351 | 360 | | |
352 | 361 | | |
353 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
354 | 367 | | |
355 | 368 | | |
356 | 369 | | |
| |||
367 | 380 | | |
368 | 381 | | |
369 | 382 | | |
370 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
371 | 393 | | |
372 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
373 | 399 | | |
374 | 400 | | |
375 | 401 | | |
| |||
0 commit comments