Files
buzz/desktop
Duncan e7f47fa8db perf(desktop): bound message-window query cache by an LRU timeline window
Every visited channel and thread leaves its query-cache keys in place for
gcTime (one hour) after the view unmounts, so a session that roams many
channels holds every timeline's window store and flattened render array in
RAM at once — a renderer memory growth behind the v0.5.9 scroll/input lag.
gcTime bounds how long an inactive query lingers, not how many linger
concurrently; this adds the missing concurrency bound.

A cache subscription mounted once in CommunityQueryProvider evicts the
least-recently-updated unpinned timelines past a fixed cap. Channels and
threads are bounded independently so a burst of open threads never evicts
channel scrollback. A unit is pinned while any of its queries has a mounted
observer or holds an optimistic pending send. Eviction removes both channel
keys together and reads back absent, so revisit re-fetches from SQLite and a
guarded background write cannot resurrect an evicted key.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-13 17:17:26 -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