Files
OpenFrontIO/tests/server
evanpelleandClaude Fable 5 b716adb7e2 fix(server): keep matchmaking games out of lobby reports; salvage invalid entries
Ranked matchmaking games have a Public gameType but no publicGameType, so
the worker's lobbyList report included them with the field dropped over
IPC, failing the master's schema parse. The master then discarded the
entire report, freezing its view of that worker's lobbies for the match's
lobby window (~7s): stale player counts and countdowns for all clients,
repeated countdown resets, and duplicate scheduled lobbies.

- Worker: filter games without a publicGameType out of the report;
  matchmaking games are invite-only and must never be advertised.
- Master: validate lobby entries individually and drop only the bad ones
  (logged), so one malformed entry can't invalidate the whole report.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 14:12:29 -07:00
..