feat: use postgres

This commit is contained in:
Ilia Denisov
2026-04-26 20:34:39 +02:00
committed by GitHub
parent 48b0056b49
commit fe829285a6
365 changed files with 29223 additions and 24049 deletions
+9 -8
View File
@@ -1,10 +1,11 @@
// Package redisstate defines the frozen Game Lobby Service Redis keyspace,
// strict JSON record shapes, and low-level mutation helpers used by the
// Game Lobby store adapters.
// Package redisstate defines the Game Lobby Service Redis keyspace and
// the adapters for the runtime-coordination state that intentionally
// stays on Redis after the PG_PLAN.md §6A and §6B migrations.
//
// Adapters in this package implement ports.GameStore,
// ports.ApplicationStore, ports.InviteStore, and ports.MembershipStore on
// top of a `*redis.Client`. Every marshal and unmarshal round-trip calls
// the domain-level Validate method to guarantee that the store never
// exposes malformed records.
// Adapters in this package implement ports.GameTurnStatsStore,
// ports.GapActivationStore, ports.EvaluationGuardStore, and
// ports.StreamOffsetStore plus the StreamLagProbe used for telemetry. The
// durable enrollment entities (game, application, invite, membership)
// and the Race Name Directory live in PostgreSQL; their previous Redis
// adapters and codecs have been removed.
package redisstate