Describe the bug
An event is tied to a particular websocket sid when it starts processing. If the client token moves to another sid while the event is processing, the resulting update/delta gets dropped. Instead we should send it on the new websocket.
WiP branch: masenf/retry-event-send
To Reproduce
- app starts background task
- browser refresh
- no delta received on new websocket
Specifics (please complete the following information):
- Python Version: 3.13
- Reflex Version: 0.7.9
Additional context
Partial fix posted in the WiP branch, needs a bit more to make it robust
Describe the bug
An event is tied to a particular websocket sid when it starts processing. If the client token moves to another sid while the event is processing, the resulting update/delta gets dropped. Instead we should send it on the new websocket.
WiP branch: masenf/retry-event-send
To Reproduce
Specifics (please complete the following information):
Additional context
Partial fix posted in the WiP branch, needs a bit more to make it robust