[#266] 여러 공급자가 연결되어 있는 계정을 회원탈퇴 시 오류가 발생하는 이슈를 해결한다#267
Conversation
opficdev
commented
Mar 12, 2026
- closed 여러 공급자가 연결되어 있는 계정을 회원탈퇴 시 오류가 발생하는 이슈를 해결한다 #266
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 Pull Request는 여러 공급자가 연결된 계정의 회원 탈퇴 시 발생하던 오류를 해결하기 위해 사용자 삭제 프로세스를 개선합니다. Firestore 데이터 정리 로직을 서버 측 Firebase Cloud Function으로 옮겨 사용자 인증 삭제 시 데이터가 자동으로 안전하게 제거되도록 합니다. 또한, 다양한 인증 및 데이터 서비스 함수 전반에 걸쳐 비동기 작업에 대한 오류 처리를 강화하고 오류 로깅을 개선하여 애플리케이션의 안정성과 디버깅 용이성을 향상시켰습니다. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
이번 PR은 여러 소셜 로그인 공급자가 연결된 계정을 탈퇴할 때 발생하는 오류를 해결하기 위한 변경 사항들을 포함하고 있습니다. 가장 핵심적인 변경은 클라이언트에서 직접 Firestore 데이터를 삭제하는 대신, Firebase Authentication 사용자 삭제 시 자동으로 트리거되는 Cloud Function(onDelete)을 사용하도록 백엔드 로직을 수정한 것입니다. 이 접근 방식은 계정 삭제 프로세스를 훨씬 더 안정적이고 견고하게 만듭니다.
또한, PR 전반에 걸쳐 do-catch 블록을 사용하여 오류 로깅을 대폭 강화한 점이 인상적입니다. 이는 향후 발생할 수 있는 문제들을 신속하게 진단하고 디버깅하는 데 큰 도움이 될 것입니다. Logger 구현에서 error.localizedDescription 대신 error를 직접 사용하도록 변경하여 더 상세한 오류 정보를 얻을 수 있도록 한 것도 좋은 개선입니다.
전반적으로 문제의 근본 원인을 정확히 파악하고, 모범 사례에 따라 수정한 훌륭한 PR이라고 생각합니다. 한 가지 작은 개선 제안을 리뷰 코멘트로 남겼으니 확인 부탁드립니다.