FEAT: 채팅 텍스트 메시지 전송, 읽음, SSE, 방 음소거 및 S3 인프라 구성#59
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🛡️ 문제점
💡 개선 사항
|
💡 개선 사항
|
| return; | ||
| } | ||
|
|
||
| ChatMessage aiMessage = chatMessageService.saveAiMessage(event.chatRoomId(), reply); |
There was a problem hiding this comment.
AI 메시지를 DB에 저장한 뒤 SSE로 한 번만 전송하고 있어서, 연결이 잠시 끊긴 경우 클라이언트가 해당 답장을 실시간으로 놓칠 수 있을 것 같습니다. 재연결 시 메시지 목록을 다시 조회하도록 프론트와 계약되어 있는지 확인하거나, 마지막 수신 메시지 이후를 다시 가져오는 복구 방식이 있으면 좋을 것 같습니다.
개선 사항
|
💡 개선 사항
|
🛡️ 문제점
💡 개선 사항
|
Summary
Related Issue
Describe your code
POST /chat-rooms/{id}/messagesPATCH /chat-rooms/{id}/readGET /chat-rooms/subscribePATCH /chat-rooms/{id}/muteS3Config,S3Uploader(업로드/삭제, global/infra)/chat요청 DTO 계약 불일치(요청 필드값)가 있었습니다. 아래 내용을 다음 pr에서 확인하려고 합니다.Checklist