mirror of
https://github.com/block/buzz.git
synced 2026-10-29 13:31:44 +00:00
Six categories of test bugs introduced during the compression pass: 1. Unbound restore() in finally blocks (makeTimerBed pattern) — fixed to t.restore() in mergeLaneSync.shared.test.mjs. 2. Stale key-ID snapshot in mergeLaneHook v2 own-key test — writeOwnOutbox replaces the bootstrap key on click; test now enumerates current keys. 3. Missing assertionsAfterRestore in mergeLaneStorage destructuring — fixed. 4. Legacy-delete no-op: second readChannelStarsStore call moved from assertions (mock still active) to assertionsAfterRestore. 5. channelStarsSync / channelMutesSync writeOutbox arg order — production signature is (pubkey, store, relayUrl); args 2-3 were swapped. 6. cancelPendingPublish does not clear pendingStore (by design); removed incorrect getPendingStore() === null assertions in typed-API tests. 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