feat(multiplayer): run leased allocator worker

This commit is contained in:
Josh Creek
2026-09-01 10:38:45 +01:00
parent 6f7d61eafb
commit 55c46f56ec
6 changed files with 255 additions and 6 deletions
+8 -5
View File
@@ -65,8 +65,9 @@ product policy are in [`docs/MATCHMAKING.md`](docs/MATCHMAKING.md).
persisted compatibility tuple, to fence allocator replicas before provider
calls; allocator-facing roster
publication now requires an allocated endpoint and verifies canonical
join-authorisation signatures before exposing player rows; allocator runtime
wiring and live Agones integration remain.
join-authorisation signatures before exposing player rows; `cmd/allocator`
now polls these claims and drives provider allocation/reconciliation/binding;
interrupted-provider reconciliation and live Agones integration remain.
- [ ] **IN PROGRESS:** Run the Go control plane against PostgreSQL/Redis with
independently runnable API, matcher, allocator and maintenance roles. The
`cmd/control-plane` API role now opens PostgreSQL, applies migrations, wires
@@ -74,10 +75,12 @@ product policy are in [`docs/MATCHMAKING.md`](docs/MATCHMAKING.md).
down gracefully; optional `--redis-addr` publishes queue mutations to a
TTL-bound best-effort candidate projection without making Redis authoritative;
a runnable casual `cmd/matcher` role now polls PostgreSQL and delegates
proposal claims to the durable transaction; `cmd/maintenance` now runs
proposal claims to the durable transaction; `cmd/allocator` now polls leased
allocating matches and invokes Agones through the durable allocator boundary;
`cmd/maintenance` now runs
bounded ranked-season rollover batches with signal-bound shutdown;
provider-backed allocation, allocator runtime wiring, Redis failover and live
service checks remain.
interrupted-provider reconciliation, Redis failover and live service checks
remain.
- [ ] **IN PROGRESS:** Define assignment compatibility and opt-in `ServerConfig`
flags whose defaults reproduce the community-server path. Allocation manifest
validation now covers client build and future expiry; allocated servers now