Repository navigation
Commit da2445c
fix(server): let a run's queued checkpoint capture decide its finalization
A terminal write gated on the run still being current now enqueues the
run's checkpoint capture in the same commit. Run finalization only looked
at the outbox, where that capture did not exist yet, so an interrupted
run was finalized as one that never captures and its checkpoint was never
taken. Rolling back to the stopped turn then targeted the wrong turn.
Normalization now sees the effects enqueued with the write.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent a3105df commit da2445c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| 555 | + | |
| 556 | + | |
555 | 557 | | |
556 | 558 | | |
557 | 559 | | |
558 | 560 | | |
| 561 | + | |
559 | 562 | | |
560 | 563 | | |
561 | 564 | | |
| |||
0 commit comments