From 69235cac5b3da5ff0dc20310e7474cabd8e63ba3 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 15 Sep 2026 20:14:02 -0400 Subject: feat: route all html editor API mutations through single owner task --- internal/admin/api_rooms.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/admin/api_rooms.go') diff --git a/internal/admin/api_rooms.go b/internal/admin/api_rooms.go index c93e7c6..3c96d53 100644 --- a/internal/admin/api_rooms.go +++ b/internal/admin/api_rooms.go @@ -850,7 +850,8 @@ func (s *AdminServer) handleRoomMove(w http.ResponseWriter, r *http.Request) { // 2. The file changes apply as a single journal transaction, rolling back // on any write failure. // 3. The wired runtime migration (players, Hub buckets, casino room keys, -// world room-keyed state, mob instances) runs through one owner task. +// world room-keyed state, mob instances) runs in the SAME owner task +// as preflight and the file commit (the API middleware owns dispatch). // 4. The undo record captures every before/after image and the idMap, so // undo/redo restore the whole plan, not just the renamed file. func (s *AdminServer) handleRoomRename(w http.ResponseWriter, r *http.Request) { -- cgit v1.2.3