Skip to main content

Module session_snapshot

Module session_snapshot 

Source
Expand description

The last-session snapshot kept in the client row’s meta (session:last_topology): saved when a window closes or the OS shuts down, read back by the restore (server/service/session_restore.rs, which re-exports these under its old paths). Only the store is involved, so the upgrade’s carry-forward test reaches it from the core.

Constants§

SNAPSHOT_META_KEY

Functions§

load_last_session_snapshot
save_last_session_snapshot
Persist a snapshot as the durable “last session” record, overwriting whatever was there before. Best-effort: a write failure is logged, never propagated — this must never block the close it rides alongside.