wifi-densepose/rust-port
ruv 48c4d5e92a fix(server): stale node eviction, remove unsafe pointer (review findings)
Critical fixes from deep review:

1. **Stale node eviction**: node_states HashMap now evicts nodes with no
   frame for >60 seconds, every 100 ticks. Prevents unbounded memory
   growth and stale smoothing data when nodes are replaced.

2. **Remove unsafe raw pointer**: Replaced the unsafe raw pointer to
   adaptive_model (used to break borrow checker deadlock with
   node_states) with a safe .clone() before the mutable borrow.
   AdaptiveModel derives Clone so this is a clean copy.

284 tests pass, zero failures.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-30 13:30:39 -04:00
..
wifi-densepose-rs fix(server): stale node eviction, remove unsafe pointer (review findings) 2026-03-30 13:30:39 -04:00