mirror of
https://github.com/block/buzz.git
synced 2026-10-29 21:41:33 +00:00
A verification refetch that rejects after a write may have committed must not escape the save path. runAgentSaveCoordinator awaited refetchStores() bare at every settlement boundary, and handleSubmit wrapped the coordinator in try/finally with no catch — so a rejection left saveError unset, no toast, and the dialog silently stuck on "Saving...", inviting a blind retry over a possibly-durable write. Catch every refetch rejection and settle with an explicit verification-unknown outcome: dialog stays open, toast says persistence could not be verified (never that the write failed, since it may have landed). handleSubmit gains a catch as a belt-and-braces backstop. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition