[FIX] : 채팅 요청 응답시, 요청 메세지 status가 REQUEST로 변경되도록 수정#262
Merged
yooooonshine merged 1 commit intodevelopfrom Nov 16, 2025
Merged
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough요청 메시지의 상태를 REQUEST_PENDING에서 REQUEST로 변경하고 저장소에 즉시 반영하도록 AI 채팅 요청 처리 흐름을 개선했습니다. 세 개의 리스너 및 서비스 파일에서 상태 업데이트 후 저장 로직을 추가했습니다. Changes
Sequence DiagramsequenceDiagram
participant Client
participant AiServerService
participant Repository
participant AiImageCreatedListener
participant SSE
Client->>AiServerService: requestChatCreation()
AiServerService->>AiServerService: Update status to REQUEST
AiServerService->>Repository: save(requestChatMessage)
Note over Repository: Status REQUEST_PENDING → REQUEST
AiServerService->>AiServerService: Update chat room summary
AiServerService->>AiServerService: Retrieve image
AiServerService->>SSE: Send response
rect rgb(220, 240, 255)
Note over AiImageCreatedListener: On image creation success/failure
AiImageCreatedListener->>Repository: save(requestChatMessage)<br/>with updated status
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
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 |
This was referenced Nov 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
작업사항
Summary by CodeRabbit
릴리스 노트