1
0
Fork 0
polaris-task-force/src
Z8MB1E 394db6dfa1 feat(arena): websocket match replication for Ordnance Disposal
Adds a dedicated Node 22 + ws arena server (src/arena) that owns live
Ordnance Disposal matches: drift-corrected 20Hz tick loop with capped
catch-up and tick-drift logging, per-socket snapshot fan-out, 30s jose
ticket auth, and awards via the idempotent results callback route.

Client gains a transport abstraction (transport.ts): WsTransport first
when NEXT_PUBLIC_ARENA_URL is baked into the bundle, HttpTransport
(today's actions + SSE + guarded poll, behavior unchanged) as automatic
fallback after two connection failures or a 5s setup timeout; absent
env var means pure HTTP (kill switch / rollback path). Next actions
proxy the match lifecycle to the arena when ARENA_SECRET +
ARENA_INTERNAL_URL are set; the in-process registry stays untouched as
the default backend.

Deploy wiring: runner-arena Dockerfile target, compose service, env
docs, DEPLOYMENT.md checklist. Tests: arena module suite (19), live
server WS suite (3), prediction harness ws-grade latency scenario.
2026-10-19 12:27:17 -04:00
..
app feat(arena): websocket match replication for Ordnance Disposal 2026-10-19 12:27:17 -04:00
arena feat(arena): websocket match replication for Ordnance Disposal 2026-10-19 12:27:17 -04:00
assets/images feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
bot feat(bot): add edit modal to /changelog for last-minute copy tweaks 2026-10-15 12:34:18 -04:00
collections feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
components feat(arena): websocket match replication for Ordnance Disposal 2026-10-19 12:27:17 -04:00
hooks feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
lib docs(minigames): note period-primary game pages with collapsed all-time boards 2026-10-19 12:14:58 -04:00
migrations feat(ai): configure Compose model and label via env 2026-10-19 12:13:22 -04:00
permissions feat(analytics): add first-party analytics collector, SDK, rollups, and admin dashboard 2026-10-14 12:12:53 -04:00
scripts feat(analytics): add first-party analytics collector, SDK, rollups, and admin dashboard 2026-10-14 12:12:53 -04:00
tools feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
utils feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
payload-generated-schema.ts feat(ai): configure Compose model and label via env 2026-10-19 12:13:22 -04:00
payload-types.ts feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
payload.config.ts feat(ai): configure Compose model and label via env 2026-10-19 12:13:22 -04:00