Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughCI/CD 워크플로우를 멀티 스테이지 파이프라인으로 재구성하고, 인증 인터셉터를 통합하며, 온보딩 플로우를 개선했습니다. API 명세 문서를 추가하고, 버전을 1.0.32로 업데이트했습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client as 클라이언트 앱
participant Auth as AuthInterceptor
participant Dio as Dio (메인)
participant RefreshDio as Dio (갱신)
participant Backend as 백엔드
participant Firebase as Firebase Auth
Client->>Dio: API 요청 (AccessToken 포함)
Dio->>Auth: 인터셉트
Auth->>Dio: 토큰 주입 (Authorization 헤더)
Dio->>Backend: 요청 전송
Backend-->>Dio: 401 응답
Dio->>Auth: 401 응답 감지
Auth->>RefreshDio: 토큰 갱신 요청
RefreshDio->>Backend: POST /api/auth/reissue
Backend-->>RefreshDio: 새 토큰 반환
RefreshDio-->>Auth: 새 토큰 저장
Auth->>Dio: 원래 요청 재시도
Dio->>Backend: API 요청 (새 토큰)
Backend-->>Dio: 200 성공
Dio-->>Client: 성공 응답
alt 토큰 갱신 실패
Auth->>Firebase: 로그아웃
Firebase-->>Auth: 로그아웃 완료
Auth->>Client: onForceLogout 콜백
end
sequenceDiagram
participant Event as 트리거<br/>(PR/Push/Dispatch)
participant Prepare as prepare<br/>작업
participant Analyze as analyze<br/>작업
participant BuildA as build-android<br/>작업
participant BuildI as build-ios<br/>작업
participant Report as report<br/>작업
Event->>Prepare: 시작
Prepare->>Prepare: 설정 수집 & 해석
Prepare-->>Prepare: PR 진행 상태 댓글 생성
par 병렬 분석 및 빌드
Prepare->>Analyze: 조건부 시작
Analyze->>Analyze: Flutter 분석 실행
Analyze-->>Analyze: 상태/소요시간 기록
Prepare->>BuildA: ANALYZE_ONLY=false 시 시작
BuildA->>BuildA: Android APK 빌드
BuildA-->>BuildA: 상태/소요시간 기록
Prepare->>BuildI: ANALYZE_ONLY=false 시 시작
BuildI->>BuildI: iOS 빌드 (서명 제외)
BuildI-->>BuildI: 상태/소요시간 기록
end
Analyze-->>Report: 완료 신호
BuildA-->>Report: 완료 신호
BuildI-->>Report: 완료 신호
Report->>Report: 최종 요약 댓글 작성
Report-->>Report: 전체 소요시간 계산
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
✨ 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 |
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
|
✅ 변경사항이 자동으로 deploy 브랜치에 적용되었습니다. PR을 수동으로 닫아주세요. |
Summary by CodeRabbit
릴리스 노트
New Features
Improvements
Documentation
Chores