[#712] GitHub 이메일 변경으로 인한 계정 연결 충돌 안내를 추가한다#713
Conversation
There was a problem hiding this comment.
Code Review
This pull request implements a new GitHub account linking flow via the /auth/github/link endpoint and introduces the githubEmailConflict error across the application layers to handle email conflicts during linking. It also refactors EmailFetchError to EmailError and DataError to DataLayerError. The review comments identify a missing path for the credentialAlreadyInUse error in the newly refactored EmailError and API decoding flows, providing actionable suggestions to map this error from the server response down to the domain layer.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
🔗 연관된 이슈
🔗 연관된 이슈
🎯 의도
GitHub 이메일 변경으로 발생하는 provider 연결 충돌을 일반 가입 충돌과 분리하고, 기존 데이터를 보호하는 전용 안내 흐름 제공
📝 작업 내용
📌 요약
/auth/github/linkREST endpoint로 전환🔍 상세
github-email-changed-account-conflict를FunctionAPIErrorCode에서 해석하고EmailError.githubEmailConflict로 변환AuthError.githubEmailConflict까지 충돌 오류 전달linkCredentialAlreadyInUse안내와 GitHub 이메일 변경 충돌 안내 분리닫기동작 제공EmailFetchError를EmailError로 정리하고DataError를DataLayerError로 통합invalidData오류의 Domain 소유권을DomainLayerError로 분리FunctionAPIEndpointTests에서 GitHub provider link 요청의POSTmethod와 경로 검증AccountFeatureTests에서AuthError.githubEmailConflict의 전용 alert 분기 검증Localizable.xcstrings에 GitHub 이메일 충돌 안내의 한국어·영어 문구 추가AGENT_ROLES.md와AGENT_WORKFLOWS.md에 모델 위임 fallback 및 문서 작성 workflow 규칙 추가📸 영상 / 이미지 (Optional)
해당 없음