Skip to main content

Module continuity

Module continuity 

Source
Expand description

Kernel state continuity (Rust-only; kernel.ts has none): the REPL’s state survives a kernel crash or restart.

With a ContinuityPolicy the supervisor snapshots the namespace after every cell (debounced by min_interval, with a flush once idle), so a crash loses at most the cell that was running. When the kernel dies it is restarted at once and restored from the latest checkpoint, and the next cell result reports exactly which names came back and which were lost, with the reason for each (A08: state that cannot be restored is reported, never silently replaced).

Structs§

ContinuityPolicy
How the supervisor keeps the REPL state recoverable. Requires KernelOptions::snapshot_path.
ContinuityReport
What a recovery restored and lost. Attached to the first cell result after the kernel restarted.
LostName
A name that did not come back, and why.