wraith/src
Vantz Stockwell a2770d3edf
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 4m20s
perf: double-buffered RDP frames + frontend rAF throttling
Root cause: RDP was unresponsive due to frame pipeline bottleneck.
- get_frame() held tokio::Mutex while cloning 8.3MB, blocking the
  RDP session thread from writing new frames (mutex contention)
- Frontend fetched on every backend event with no coalescing
- Every GraphicsUpdate emitted an IPC event, flooding the frontend

Fix:
- Double-buffer: back_buffer (tokio::Mutex, write path) and
  front_buffer (std::sync::RwLock, read path) — reads never block writes
- get_frame() now synchronous, reads from front_buffer via RwLock
- Backend throttles frame events to every other GraphicsUpdate
- Frontend coalesces events via requestAnimationFrame
- RdpView props now reactive (computed) for correct resize behavior
- rdp_get_frame command no longer async (no .await needed)
- screenshot_png_base64 no longer async

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 09:19:40 -04:00
..
assets feat: Phase 2 complete — SSH terminal + frontend UI 2026-03-17 15:28:18 -04:00
components perf: double-buffered RDP frames + frontend rAF throttling 2026-03-30 09:19:40 -04:00
composables perf: double-buffered RDP frames + frontend rAF throttling 2026-03-30 09:19:40 -04:00
layouts refactor: migrate UnlockLayout to Tailwind + extract ToolShell wrapper 2026-03-29 16:53:57 -04:00
stores refactor: Vue 3 state, TypeScript, and lifecycle improvements 2026-03-29 16:53:17 -04:00
App.vue feat: tab detach/reattach — pop sessions into separate windows 2026-03-25 15:37:49 -04:00
env.d.ts feat: Phase 1 complete — Tauri v2 foundation 2026-03-17 15:09:41 -04:00
main.ts feat: Phase 1 complete — Tauri v2 foundation 2026-03-17 15:09:41 -04:00