diff options
| author | historia <[not public]> | 2026-09-15 20:14:02 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-15 20:14:02 -0400 |
| commit | 69235cac5b3da5ff0dc20310e7474cabd8e63ba3 (patch) | |
| tree | ce96c9506531e219c157f29ac6a6dc53de1df15b /internal/admin/api_rooms.go | |
| parent | 6f3c43aca62a7d33a19f14f6ad7c16891952673a (diff) | |
| download | thehouseoficarus-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.go | 3 |
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) { |
