mirror of
https://github.com/block/buzz.git
synced 2026-11-25 10:42:26 +00:00
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>