-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix] AuthProvider 버그 수정 #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 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 |
🎭 Playwright Report✨ E2E Test가 성공적으로 완료되었습니다. Test 요약 내용을 확인해주세요.
📊 Test Summary
📜 Test Details✅ Passed Tests (3)
|
📊 Coverage Report
📈 #276을 main에 병합하면 coverage가 Coverage 요약@@ Coverage Diff @@
## main #276 +/- ##
===========================================
+ Coverage 42.21% 42.67% +0.46%
===========================================
Files 195 195 0
Lines 8634 8642 +8
Branches 392 403 +11
===========================================
+ Hits 3645 3688 +43
- Misses 4989 4954 -35 영향받은 파일
|
🎨 Storybook Report✅ 변경 사항이 없습니다 모든 Story가 이전 빌드와 동일합니다.
|
🚀 PR Preview Report✨ Build가 성공적으로 완료되었습니다. Preview에서 변경사항을 확인하세요.
|
📝 변경 사항
❓ 기존 버그
accessToken이 만료되어 cookie가 삭제된 후 SSE 연결 해제, unReadCount 초기화가 정상적으로 동작하지 않음
💡 해결
accessToken state와 cookie의 실시간 동기화 구현 복잡성을 고려하여 accessToken state를 삭제하고 isAuthenticated로 변경하였습니다.
아래 Case에 대해 검증을 완료하였습니다.
0. 페이지 접속 시(혹은 새로고침)
1. 로그인 시
2. 로그아웃 시
3. accessToken이 없을 시
3-1. refresh에 성공했을 시
3-2. refresh에 실패했을 시
🔗 관련 이슈
Closes #
🧪 테스트 방법
📸 스크린샷 (선택)
📋 체크리스트
💬 추가 코멘트
CodeRabbit Review는 자동으로 실행되지 않습니다.
Review를 실행하려면 comment에 아래와 같이 작성해주세요