Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 21, 2025

작업 계획

  • 요구사항 분석 및 현재 코드 파악
  • core/communication 모듈 생성
    • core/communication/tasks.py - 범용 메일 전송 shared_task 생성
    • core/communication/templates.py - 메일 템플릿 추상화 클래스 생성
    • core/communication/__init__.py - 모듈 초기화
  • 이메일 인증 템플릿 구현
    • apps/users/communication.py - EmailVerificationTemplate 클래스 생성
  • 기존 코드 리팩토링
    • apps/users/tasks.py - 범용 communication task 사용하도록 수정
    • apps/users/services.py - 새로운 템플릿 방식 사용 (변경 불필요)
  • 테스트 추가 및 수정
    • core/communication/tests/test_tasks.py - 범용 이메일 전송 태스크 테스트
    • apps/users/tests/test_communication.py - 이메일 인증 템플릿 테스트
    • apps/users/tests/test_tasks.py - 기존 테스트 업데이트
  • 코드 리뷰 피드백 반영
    • EmailTemplate의 recipient_email을 abstract property로 변경
    • send_email에서 body 중복 제거 (HTML만 alternative로 전송)
  • 최종 보안 검증

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants