fix(multiplayer): constrain ranked arena paths in postgres

This commit is contained in:
Josh Creek
2026-09-01 21:09:01 +01:00
parent bd617dbf06
commit caa7e3e793
5 changed files with 40 additions and 2 deletions
+2 -1
View File
@@ -240,7 +240,8 @@ rating loss because no rated match began.
until the trained-policy restriction is lifted. It chooses from that list
deterministically from the proposal ID, so retrying a proposal cannot change
its arena. Every durable proposal, match, and allocation boundary rechecks
the same allowlist rather than accepting an arbitrary non-empty path. The selected scene is
the same allowlist rather than accepting an arbitrary non-empty path; the
PostgreSQL constraints enforce it for new direct SQL writes as well. The selected scene is
persisted with the proposal/match plan, included in the allocation identity,
and passed through the Agones GameServer annotation into the allocated
server's validated `--arena-path` flag.