mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The lifecycle tests added for the retry-eviction fix pushed `native_relay_client.rs` to 1292 lines, over the desktop file-size ratchet's 1000-line limit for new files. Moves `closed_recovery_tests` into `native_relay_client_tests.rs` behind `#[cfg(test)] #[path = ...]`, the same convention `archive/sync.rs` uses for `sync_tests.rs`. Source drops to 685 lines and the tests to 611. Production code is byte-identical and the test module moved verbatim apart from dedenting; a `#[path]` module is still a child module, so `use super::*` continues to reach the private items the tests drive and no visibility changed. The mutant matrix was re-run at these bytes rather than inherited: all six mutants stay killed with the same attribution. Co-authored-by: Tyler Longwell <tlongwell@squareup.com> Signed-off-by: Tyler Longwell <tlongwell@squareup.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