Files
buzz/desktop/src-tauri
Duncan dd555f7bbd test(desktop): drive §7 no-scope and activation-race commit schedules (P26-C1)
Adds the three coordinator-driven §7 recovery fixtures that require a real
durable commit, now hermetic via the injected persist seams:
- no-active-scope recovery: acquires workspace_transition, selects the
  no-scope branch from the under-guard snapshot, commits B through a fake
  reachable store + tempdir, and bumps the persistence and scope generations
  exactly once each;
- None->Some activation race, both resolved orders — recovery-wins (commits
  under a true no-scope snapshot, activation then applies against B) and
  activation-wins (the recovery's under-guard snapshot observes the
  pre-committed scope and runs the full active-scope drain/commit/clear).

A Send+Sync SyncKeyringStore backs the commits; the RefCell FakeIdentityStore
is !Sync and cannot cross the coordinator spawn_blocking.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-19 12:46:26 -04:00
..