대기실 보완: 만들고 아무도 안 들어간 방도 5분 뒤 정리, 거절된 채팅(도배 방지·빈 메시지)은 nonce를 담아 알려서 "보내는 중" 줄을 지우고 안내

- 회귀 테스트: 서버 2개(수정 전 코드에서 실패 확인), e2e 1단계 추가

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-18 21:12:35 +09:00
parent 735ddd0322
commit af2dce5b50
6 changed files with 51 additions and 7 deletions

View File

@@ -67,7 +67,8 @@ export type ServerMessage =
| { t: 'chatlog'; code: string; lines: ChatLine[] }
| { t: 'notice'; text: string }
| { t: 'pong'; c: number; s: number }
| { t: 'error'; message: string };
/** `n`: the chat nonce when a chat line was refused, so the sender drops its "보내는 중" line. */
| { t: 'error'; message: string; n?: string };
/**
* Server clock offset from ping samples (docs/12 Q1): use the sample with the smallest round trip.