d3ro-voice/apps/desktop/tests/main
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
..
ipc feat: add mobile shell and unified search 2026-09-28 23:23:36 +09:00
services fix(desktop): stop pinning local models in memory and cap audio buffers 2026-10-11 11:35:15 +09:00
sync fix(desktop): stop pinning local models in memory and cap audio buffers 2026-10-11 11:35:15 +09:00
utils fix(llm): keep system prompts on premium chat, reject incomplete streams, stop double-charging quota 2026-09-28 00:53:44 +09:00
windows feat(desktop): honest, unified dictation popups with Esc to cancel 2026-09-28 20:46:24 +09:00
app-identity.test.ts fix(desktop): align runtime AppUserModelId with electron-builder appId 2026-09-28 02:16:18 +09:00
config-effects-overlay-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
db-open-atomic-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
index-activate-redteam-r3-4.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
install-kind.test.ts fix(update): re-evaluate policy on every update transition and skip NSIS updater on portable installs 2026-09-28 02:16:18 +09:00
safe-filename.test.ts fix(desktop): surface configuration and provider failures instead of hiding them 2026-09-16 23:23:58 +09:00
shutdown-registry.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
suggestion-overlay-policy.test.ts release: ship v1.6.0 with paged suggestions and a cleaner phrase memory 2026-09-24 19:56:28 +09:00
update-policy-redteam-r3-5.test.ts fix(ci): point release-metadata checks at the relocated update and publish guards 2026-09-28 20:55:11 +09:00
update-policy.test.ts feat(release): publish desktop updates from a tag through one feed 2026-09-16 23:23:00 +09:00
update-session.test.ts fix(update): re-evaluate policy on every update transition and skip NSIS updater on portable installs 2026-09-28 02:16:18 +09:00