brackt/server
Claude cb2fd1f031
Fix draft timer missing after rollback causing draft to freeze
The rollback endpoint was deleting all timers but only recreating one
for the team currently on the clock. After that team made their pick,
the next team had no timer row, causing the timer system to log
"No timer found" and skip indefinitely, freezing the draft.

Fix: recreate timers for ALL teams after a rollback, each starting at
draftInitialTime.

Also add a defensive fallback in the timer system: if a timer row is
missing for the current team during an active draft, create it at
draftInitialTime instead of skipping, so the draft can never get
permanently stuck due to a missing timer.

https://claude.ai/code/session_01YPxgcQywG57KiXj7m46gLV
2026-02-23 00:45:30 +00:00
..
__tests__ feat: add autodraft status and team connection indicators to draft grid 2025-10-21 23:22:17 -07:00
app.ts refactor: update import paths to use absolute paths for better clarity and maintainability 2025-10-24 21:20:19 -07:00
snapshots.ts feat: implement daily standings snapshot system with admin management interface 2025-11-14 09:15:58 -08:00
socket.d.ts feat: integrate Socket.IO server with HTTP server and draft room functionality 2025-10-16 18:15:04 -07:00
socket.ts feat: implement daily standings snapshot system with admin management interface 2025-11-14 09:15:58 -08:00
timer.ts Fix draft timer missing after rollback causing draft to freeze 2026-02-23 00:45:30 +00:00
types.d.ts feat: integrate Socket.IO server with HTTP server and draft room functionality 2025-10-16 18:15:04 -07:00
virtual-modules.d.ts feat: integrate Socket.IO server with HTTP server and draft room functionality 2025-10-16 18:15:04 -07:00