feat(user-session): record satellite capability bitmap on slot (VS-13) #16
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/user-capability-metadata-vs-13"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Resolves the
(TODO)atcrates/meshcentral-web/src/user_session.rs:10142. Thesatellitecontrol action'ssetFlagsadvertisement is now stored per session slot, andsatelliteresponses are routed to matching slots instead of broadcasting.Changes
UserSessionRegistry::Slotgrows asatellite_flags: u32.SessionGuard::set_satellite_flags(flags)updates the calling slot.UserSessionRegistry::push_to_satellite_match(flags, frame)fan-outs only to slots whose bitmap intersects the request.dispatchthreads the liveSessionGuardintohandle_satellite.Test plan
cargo test -p meshcentral-web --lib user_session_registry(7/7 passing).cargo check -p meshcentral-webclean.satelliteFlags(the response shape did not change, so client-side filtering still works; the targeting just got tighter).Closes VS-13.