Files
douyi_guaji_main/tests
CodexandClaude Opus 4.7 e9e8e322c6 refactor(reservation): 拆出 attend_window 等待开奖检查 + 锁定期晋升(1375→1309,-66 行)
- check_waiting_for_reservation_lottery:等待预约福袋开奖时不抢占其他预约
- maybe_promote_locked_reservation:锁定期内把锁定预约移到队头,
  若已不在队列则清除锁定期

新增 8 个单元测试,1248 → 1256 用例全过。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 04:06:28 +08:00
..