aboutsummaryrefslogtreecommitdiff
path: root/test/util/state-test.ts
AgeCommit message (Collapse)Author
2026-10-11fix: append browser state to the session only when it changes (#37)Aman Kumar
persistState appended a browser-harness-state entry on every ownership callback, session_tree and shutdown, so the append-only session file and Pi Web's "+N custom" chain grew without bound. A snapshot is now written only when it differs from the last one persisted or restored. Fixes #26 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>