aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/api_rooms.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-15 20:14:02 -0400
committerhistoria <[not public]>2026-09-15 20:14:02 -0400
commit69235cac5b3da5ff0dc20310e7474cabd8e63ba3 (patch)
treece96c9506531e219c157f29ac6a6dc53de1df15b /internal/admin/api_rooms.go
parent6f3c43aca62a7d33a19f14f6ad7c16891952673a (diff)
downloadthehouseoficarus-69235cac5b3da5ff0dc20310e7474cabd8e63ba3.tar.gz
feat: route all html editor API mutations through single owner task
Diffstat (limited to 'internal/admin/api_rooms.go')
-rw-r--r--internal/admin/api_rooms.go3
1 files changed, 2 insertions, 1 deletions
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) {