[Feat] 토큰 재발급 흐름 구현 - #89
Conversation
|
Warning Review limit reached
Next review available in: 50 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
✨ 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 |
6d72465 to
296ad71
Compare
Constraint: 동일 token의 refresh는 single-flight로 제한하고 원 요청은 한 번만 재시도 Rejected: 일반 5xx 자동 재시도와 stale 401의 무조건 sign-out | 중복 mutation과 계정 전환 race를 방지하기 위해 제외 Confidence: high Scope-risk: moderate Directive: credential 교체와 sign-out은 요청 시점 token 일치 조건을 계속 지킬 것 Tested: 기존 PR HEAD와 tree 동일; PR 기록상 전체 XCTest 332개 및 Foundation·SwiftData gate 성공 Not-tested: 실제 iPhone 토큰 재발급 E2E
6b918bc to
908eb24
Compare
✨ PR 유형
어떤 변경 사항이 있나요??
🛠️ 작업내용
TokenRefreshCoordinatoractor와AccessTokenRefreshing경계를 추가했습니다.적용했습니다.
SwiftData에는 손대지 않습니다.
검증
bash Scripts/check-iphone-functional-gate.sh: passedbash Scripts/check-swiftdata-boundary.sh: passedplutil -lint Moru/Info.plist: passedgit diff --check: passed📋 추후 진행 상황
📌 리뷰 포인트
✅ Checklist
Closes #88