Merged
Conversation
# Conflicts: # email-worker/src/container.ts # email-worker/src/email/email.consumer.ts
Jo-Minseok
approved these changes
Jan 16, 2026
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.
📋 작업 내용
작업 요약
Claude code 관련 내용
[사용 이유]
이메일 정상 시나리오에 대해서는 제가 직접 작성했고, 에러 발생 시나리오와 헬퍼에 대해서는 클로드 코드를 활용했습니다.
에러 발생 시나리오 상 Mailpit이라는 테스트용 SMTP 서버와 RabbitMQ를 활용해야 합니다.
예를 들어 DLQ로 어떤 요청의 메시지가 발행된다면 :
그래서 테스트에 필요한 조회 등의 헬퍼 함수와 이메일 형식이나 메시지 형식에 맞는 검증이 필요했고, 개발자가 직접 확인하기에는 손이 많이 가는 작업이라 볼 수 있습니다.
클로드 코드를 활용해서 이런 작업에 대해 생산성을 높일 수 있도록 시도했습니다.
[클로드 코드 검수]
처음에는 에러 핸들링 관련 E2E 테스트 코드를 작성해달라 하니, 내부를 모킹한 유닛 테스트 같은 버전으로 만들어줬습니다.
시스템 검증에 초점을 맞추는 E2E 테스트의 특징을 살리기 위해 프롬프트를 다음과 같이 수정했습니다.
📷 스크린 샷(선택 사항)