You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
serial manager: transparently rebind active sessions after tracked USB serial renumbering #642
#640 emits port_renumbered and port_reattached lifecycle events when a tracked USB serial moves to a new OS port, but the serial manager still keeps the active session keyed to the old port. The #592 design calls for the daemon to transparently rebind the session so subscribers can continue reading/writing after COM renumbering without reconstructing their proxy.
Scope:
preserve the old-port broadcaster/subscriber channel while reopening the physical handle on the new port
move or alias session metadata so writer locks and attached readers survive old_port -> new_port
update write paths so a client attached before renumbering can write to the rebound physical port
emit port_renumbered and port_reattached around a successful rebind, and a structured error if rebind fails
add focused tests for session metadata, broadcaster preservation, and write routing after rebind
This is the remaining fbuild-local piece before the FastLED-side cleanup can safely remove close/reopen and pyserial workarounds.
Activity