mirror of
https://github.com/block/buzz.git
synced 2026-10-29 13:31:44 +00:00
Bootstrap fetch returns [] (hold) so publishStars is called unconditionally — the subsumed guard only runs on apply-remote, which would require extra async ticks to verify. The 501-entry merge still exercises at the production seam: when the 2s debounce fires and doPublish calls fetchRemoteStars (fetchCalls=2), the 500-entry remote head triggers mergeWithRemote producing 501 entries. Without preservedKey forwarded from the foreign record, boundStarStore evicts the clicked channel there. The test structure now matches the existing bootstrap replay test (hold bootstrap → timer fires → publish cycle exercises the production path). 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