Files
buzz/desktop
Duncan bf96a1067e test(readStateManager): fix timer virtualization and exact retryAttempt assertion
makeFakeTimers() was calling the native scheduler for all delays, leaking
live callbacks past test teardown and making scheduled.delete() bookkeeping-
only. Fix: positive-delay timers are now purely synthetic — allocate a local
ID, store {fn, ms} in the map, never touch origSetTimeout. Zero-delay work
still delegates to the native scheduler so async continuations flush. restore()
simply swaps the functions back; no native timers exist to cancel.

incompleteVerdictCases table was asserting retryAttempt > 0, which let a
+= 2 mutation survive the retryLoad row and an = 2 mutation survive the
initialize row. Both rows now carry expectedAttempt: 1 and assert the exact
value. The initialize path sets retryAttempt = 1 directly; the retryLoad path
increments via retryAttempt++. Each row's exact assertion independently bites
its own guarded production path.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-10 13:45:25 -04:00
..
2026-08-03 21:51:17 -04:00
2026-03-09 13:02:11 -07:00
2026-06-11 15:06:24 +00:00
2026-03-09 13:02:11 -07:00

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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