fix: 투표 종료 푸시 알림 누락 방지#226
Merged
Merged
Conversation
- PushNotificationSender를 @TransactionalEventListener(AFTER_COMMIT)로 전환해 알림 생성 트랜잭션 커밋 전 발송되던 race 제거 - FcmSenderAdapter에서 INVALID_ARGUMENT를 만료 토큰으로 오인해 정상 토큰까지 삭제하던 로직 제거 (UNREGISTERED만 삭제) - FCM 활성/비활성 어댑터를 기동 로그로 식별 가능하게 추가
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughFCM 어댑터에 활성화/비활성화 상태 로깅을 추가하고, 토큰 만료 판정을 ChangesFCM 어댑터 개선
알림 이벤트 트랜잭션 개선
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
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.
📌 관련 이슈
🔍 작업 내용
투표 종료 시 푸시 알림이 발송되지 않는 문제를 수정했습니다.
알림 생성 트랜잭션이 커밋되기 전에 비동기 발송 리스너가 실행돼 빈 결과를 읽고 발송이 통째로 누락되는 race condition이 원인이었습니다.
📝 변경 사항
💬 리뷰어에게
Summary by CodeRabbit
릴리스 노트
Bug Fixes
Chores