Widening the tennis-sync gate to fire on any elimination means notifyQualifyingPointsUpdate now runs on essentially every early-round sync, since most eliminated players are undrafted. Fetch the draft picks first and bail before the QP-total, season, participant, user, and Discord lookups when no drafted participant earned QP or was knocked out this sync — avoiding a full query battery just to send nothing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LkPWxSCunhPFknNUTXm4aZ |
||
|---|---|---|
| .. | ||
| bracket-simulator.test.ts | ||
| discord.test.ts | ||
| draft-discord.server.test.ts | ||
| draft-email.server.test.ts | ||
| ev-calculator.test.ts | ||
| icm-calculator.test.ts | ||
| probability-engine.test.ts | ||
| probability-updater.test.ts | ||
| qualifying-points-discord.server.test.ts | ||
| sync-tournament-results.test.ts | ||