You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restart read-avoidance: on startup the plugin now uses the persisted log revision (via sessionPersistence.listSnapshots() — a header-line + stat read, no full-log parse) as a per-session change signal. Sessions whose log is unchanged since the last ledger write are applied straight from the durable ledger without reading their full event log; only changed or new sessions are read (incrementally).
The durable ledger now stores each session's log revision (lastRevision); existing rows without it are re-read once and backfilled, so the upgrade is backward compatible.
Fixed
Eliminated the per-session full-event read at restart for unchanged persisted sessions — DSH restarts no longer re-read every session's history from scratch.
Verification
npm test 31/31 (incl. restart-skip with zero reads, revision-change re-read, and old-row backfill tests).
node --check Host + Client, npm pack --dry-run, git diff --check all pass; hot-reload and a real DSH restart both verified.