-
Notifications
You must be signed in to change notification settings - Fork 3
hotfix: 테스트 코드 수정 #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hotfix: 테스트 코드 수정 #130
Conversation
Walkthrough이 변경은 제출 관련 이벤트 객체에 사용자 식별자(principalName)를 추가하고, 이벤트 생성 시 단순 세션 키 대신 SubmissionContext 객체를 전달하도록 수정합니다. 또한 WebSocket 메시지 전송 경로를 브로드캐스트 토픽에서 사용자별 큐로 변경하며, 관련 서비스, 리스너, 테스트 코드, 문서, 템플릿 등을 이에 맞게 일관성 있게 업데이트합니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Controller
participant JudgementService
participant EventPublisher
participant StompMessageService
Client->>Controller: 코드 제출(WebSocket)
Controller->>JudgementService: 제출 처리
JudgementService->>EventPublisher: TestcaseListInitializedEvent.of(ctx, payload)
EventPublisher->>StompMessageService: sendInitTestcases(sessionKey, principalName, payload)
StompMessageService->>Client: /user/queue/submission/{sessionKey}/init 메시지 전송
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (15)
🧰 Additional context used🧠 Learnings (4)📓 Common learningssrc/main/java/org/ezcode/codetest/application/submission/dto/event/SubmissionErrorEvent.java (1)src/main/resources/templates/submit-test.html (1)src/main/java/org/ezcode/codetest/application/submission/service/SubmissionService.java (3)⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (30)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
신규 기능
버그 수정
/topic/submission/{sessionKey}에서/user/queue/submission/{sessionKey}로 변경되어, 제출 결과 및 상태 메시지가 본인에게만 전달됩니다.문서화
테스트