mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
Repair every clippy 1.95 -D warnings failure from CI run 34155454680 (Desktop Core 101846514710) without weakening a check: the test env lock becomes a tokio Mutex (buzz-db POOL_METRICS_TEST_LOCK convention) so async tests hold the same single lock domain across await via lock_path_mutex_async while sync tests keep blocking_lock; the dead spawn_agent_child wrapper is removed and test-only helpers are cfg(test) gated with ownership notes; mesh-feature-used relay_mesh_model_id carries a justified cfg_attr; identical placement branches merge; restore test module moves after the last item; mechanical bool/borrow/slice fixes; two documented ABI argument-count allows at the launch-inputs passthrough and the Tauri invoke contract. local_host opened the scoped retention db without ensuring the agents/retention parent that active_retention_scope only creates lazily at retention time, panicking every remote_credentials fixture before its assertions and any first lifecycle message preceding retention on a fresh install. Mirror remote_stop::connection's on-demand parent ensure with the same contextual directory error. All seven remote_credentials fixtures execute and pass on the authorized no-default lane; workspace clippy -D warnings and rustfmt pass locally. Signed-off-by: Logan Johnson <loganj@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