recovery zero-budget semantic-index
Failure recovery and resume
Prove that CareerVector resumes correctly after the things that actually happen in the field: a tab killed mid-write replays its IndexedDB queue, a browser dying mid-tailor leaves the process_request claimable by the CF Worker fallback, Durable Objects waking from hibernation continue serving the same Y.Doc bytes, edge caches stale relative to a fresh write are invalidated by clock, SSE clients catch up via Last-Event-Id, a corrupted IndexedDB cleanly falls back to the server snapshot, and a laptop sleeping mid-tailor resumes without duplicate writes.
Behaviours 0 Tests 7 Graph 21 nodes · 35 edges Runner - CircleCI browser_recovery Source qa/suites/recovery.yaml
Test witnesses
These tests belong to the suite. Missing implementation links stay visible until a code-backed graph claim records them.
| Test | Status | Implementation | Open |
|---|---|---|---|
[solo applicant] see a consistent state when my browser crashes during a tailor @cv/ui · playwright · stories/recovery/browser-dies-during-tailor.spec.ts | catalog | cv op catalog applier graph-proven · graph-checks-edge cv server process requests graph-proven · graph-checks-edge cv workspace client sdk graph-proven · graph-checks-edge process requests graph-proven · graph-checks-edge tailored snapshot op graph-proven · graph-checks-edge workspace client sdk graph-proven · graph-checks-edge | Test |
[solo applicant] open a workspace that has been idle and continue working immediately @cv/ui · playwright · stories/recovery/do-hibernation-wake.spec.ts | catalog | cv api workspace router graph-proven · graph-checks-edge cv relay cf worker graph-proven · graph-checks-edge cv workspace client sdk graph-proven · graph-checks-edge realtime do graph-proven · graph-checks-edge sub doc endpoint graph-proven · graph-checks-edge workspace client sdk graph-proven · graph-checks-edge | Test |
[solo applicant] open my workspace cleanly when my browser's local cache has been corrupted @cv/ui · playwright · stories/recovery/idb-corrupted-falls-back.spec.ts | catalog | cv workspace client sdk graph-proven · graph-checks-edge idb persistence graph-proven · graph-checks-edge workspace client sdk graph-proven · graph-checks-edge | Test |
[solo applicant] have my pending edits land after a hard browser crash @cv/ui · playwright · stories/recovery/kill-tab-idb-replay.spec.ts | catalog | cv api workspace router graph-proven · graph-checks-edge cv workspace client sdk graph-proven · graph-checks-edge idb persistence graph-proven · graph-checks-edge ops endpoint graph-proven · graph-checks-edge workspace client sdk graph-proven · graph-checks-edge | Test |
[solo applicant] have my tailor request survive my laptop sleeping mid-run @cv/ui · playwright · stories/recovery/laptop-slept-mid-tailor.spec.ts | catalog | cv op catalog applier graph-proven · graph-checks-edge cv server process requests graph-proven · graph-checks-edge process requests graph-proven · graph-checks-edge tailored snapshot op graph-proven · graph-checks-edge | Test |
[family collaborator] never miss a teammate's edit even when my SSE connection drops mid-session @cv/ui · playwright · stories/recovery/sse-catchup-last-event-id.spec.ts | catalog | cv api workspace router graph-proven · graph-checks-edge sse changes stream graph-proven · graph-checks-edge | Test |
[family collaborator] always read the freshest workspace state, even if my client tried to use a stale cache key @cv/ui · playwright · stories/recovery/subdoc-cache-stale-write.spec.ts | catalog | cv api workspace router graph-proven · graph-checks-edge sub doc endpoint graph-proven · graph-checks-edge | Test |