The series scheduler was scheduling games and creating series_games rows, but never updated winner_id or incremented a_wins/b_wins when individual matches completed. This left series in perpetual "active" state since finalizeCompletedSeries checks win counts that were never incremented. Add updateSeriesGameResults step that: - Finds series_games with completed matches but NULL winner_id - Updates winner_id from match_participants - Increments a_wins or b_wins on the series table Called as step 0 in tickSeriesScheduler, before finalization checks. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alerts.go | ||
| config.go | ||
| crypto.go | ||
| Dockerfile | ||
| main.go | ||
| series_season.go | ||
| series_season_test.go | ||
| tickers.go | ||