Serialize lifecycle changes and make cancellation, deadlines, and match side effects recoverable and idempotent.
Archive accepted bids durably, quarantine invalid payloads, and preserve compatibility with empty round IDs. Synchronize HTTP polling and socket state with scoped resync events.
Add cancellation cleanup index migration and regression coverage. Validated with 744 API tests, 65 Redis integration tests, and 28 Mongo integration tests.
Preserve tournament result jobs through lock contention and transient failures,
atomically schedule retries before acknowledgement, and publish initial polls
after releasing the preparation lock.
Fix Redis connection blocking, durability Hash cleanup, duplicate auction
request ordering, and scheduled-job promotion. Use native Redis 8.10 stream,
lock, counter, and field-expiring cache operations with invalidation fencing.
Repair 90 test type errors and add a repeatable API typecheck command.
Validation: 704 API tests, 129 web tests, 31 real Redis integration tests,
3 dependency checks, workspace type checks and builds, and changed-file lint.
거부(특히 낙관적 동시성 CONFLICT)를 받은 클라가 낡은 상태에 멈춰 후속
액션을 반복 거부받던 문제를 해결한다.
- 서버: 거부 ack에 설명적 거부코드(auctionRejectionReason)와 resync 권장
여부, 그리고 resync 권장 거부에 한해 최신 권위 state를 동봉한다. 구조 전환
거부는 내부 code(CONFLICT 등)를 구조화해 던져 매핑 가능하게 한다.
- 클라: 거부 시 동봉된 state로 즉시 rebaseline(없으면 join으로 재요청)하고,
"낡은 화면" 거부면 구조 액션을 1회 자동 재시도한다. 거부 문구를 거부코드
기반 한국어로 매핑한다(error 이벤트 채널 포함).
신규 auction-rejection 모듈로 짧은 내부 코드를 맥락이 담긴 설명적 코드로
변환한다.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>