|
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 1m38s
🚀 Deploy / ʦ TypeScript (pull_request) Successful in 1m26s
🚀 Deploy / 🔍 Lint (pull_request) Successful in 51s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
- Add reference-equality cleanup guard to enqueuePickNotification so leagueChains entries are deleted once a league's chain settles (matching the old queue's finally-block cleanup), while correctly skipping deletion if a new pick was enqueued before the current one resolved - Use getTeamForPick from ~/lib/draft-order in draft.make-pick.ts and draft.force-manual-pick.ts instead of the inline calculatePickInfo + draftSlots.find pattern (draft-utils.ts has a same-named local function with a different signature so it keeps the two-liner) - Replace pickedTeam?.name ?? teamId UUID fallback in force-manual-pick with expectedDraftSlot.team.name, which is already validated non-null by the route's own guard; also removes two duplicate draftSlots.find calls that re-searched for a slot already in hand https://claude.ai/code/session_01GCkguG2muQwnh3WTvENrwJ |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| autodraft.update.ts | ||
| draft.adjust-time-bank.ts | ||
| draft.force-autopick.ts | ||
| draft.force-manual-pick.ts | ||
| draft.make-pick.ts | ||
| draft.pause.ts | ||
| draft.replace-pick.ts | ||
| draft.resume.ts | ||
| draft.rollback.ts | ||
| draft.start.ts | ||
| queue.add.ts | ||
| queue.clear.ts | ||
| queue.remove.ts | ||
| queue.reorder.ts | ||
| seasons.$seasonId.draft.ts | ||
| user.timezone.ts | ||
| watchlist.toggle.ts | ||