d3ro-voice/apps/desktop/tests/main/sync
Yun Chan d63854db67
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Successful in 56s
ci / .NET API 서버 테스트 (push) Successful in 10s
deploy-site / deploy (push) Successful in 38s
ci / 모바일 린트·타입·Jest (push) Successful in 44s
ci / 워크스페이스 빌드 검증 (push) Successful in 54s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 22s
portable-unsigned / portable-windows (push) Failing after 35s
release / release-windows (push) Failing after 13s
fix(desktop): stop pinning local models in memory and cap audio buffers
The PC-wide slowdown was not a leak but model residency: boot warmup loaded
gemma4:e4b (~11.6 GB RAM incl. 5.9 GB pinned host buffer, no mmap on Windows
CUDA) and kept it for 30m, next to the large-v3 sidecar. Measured on the HEAD
build: free RAM 7.9 GB -> 32 MB within 20 s; after this change 10.8 GB with no
Ollama model loaded until typing starts.

- single LOCAL_LLM_KEEP_ALIVE (10m) for every local request; no boot warmup
- unload this app's resident Ollama models (keep_alive 0) on quit
- sidecar POST /unload for the aux slot; captions release it on stop
- partial dictation copies only the tail window, not the whole recording
- cap the voice-conversation listen buffer at 5 minutes
- mic test: generation guard so re-entry cannot orphan lease/timers
- startRealtime: single-flight and removeChannel to stop duplicate bindings
- meeting WAV save writes header and PCM without a concat copy

Docs: AI-01 policy note, GAP-PERF-01 with remaining work.
2026-10-11 11:35:15 +09:00
..
audio-sync-redteam-r3-1.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
cloud-credentials-redteam-r3-1.test.ts fix(desktop): stop pinning local models in memory and cap audio buffers 2026-10-11 11:35:15 +09:00
cloud-sync-extracted-redteam-r1-0.test.ts fix(sync): bind sync engine to its user DB, scope instructions/templates per account, harden navigation 2026-09-28 00:53:42 +09:00
cloud-sync-restore-redteam-r2-1.test.ts fix(desktop): stop pinning local models in memory and cap audio buffers 2026-10-11 11:35:15 +09:00
knowledge-reindex-redteam-r3-2.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
settings-sync-redteam-r2-2.test.ts fix(sync): keep desktop-only language and preset command across settings pulls 2026-09-28 02:16:15 +09:00
sync-redteam-r1-0.test.ts fix(sync): bind sync engine to its user DB, scope instructions/templates per account, harden navigation 2026-09-28 00:53:42 +09:00
sync-redteam-r2-0.test.ts fix(sync,rag): keep restored rows, reconcile after tombstone pruning, reject partial knowledge docs, surface RAG indexing failures 2026-09-28 02:16:14 +09:00
sync-redteam-r3-0.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
SyncEngine.test.ts feat(desktop): two-way cloud sync with mobile and web 2026-09-27 14:04:49 +09:00
SyncExtensions.test.ts feat(desktop): sync knowledge, recordings and shared settings; play any recording 2026-09-27 14:44:56 +09:00
SyncTranscriptsPresets.test.ts feat(desktop): send meeting transcript segments and preset prompt edits to the phone 2026-09-27 16:24:25 +09:00