Deploy with Docker Compose / deploy (push) Successful in 1m7s
The chat store bound its handlers to the shared socket ref, so when Chat.vue reconnected after auth resolved (isAdmin flipping), the old socket's onclose fired after the new socket existed, nulled it, and scheduled another reconnect. Two live sockets then pushed every broadcast, showing each sent message or upload twice. Handlers now check they belong to the current socket. History is sent as a single batch event so the message list is replaced in place instead of being emptied and refilled, which kept unmounting and reloading every image and jumping the scroll position. Co-Authored-By: Claude Fable 5.1 <[email protected]>