Repository navigation
[FIX] 조회 실패 화면이 기본 재시도(3회·지수 백오프) 때문에 약 7초 늦게 뜨는 문제 (#238) - #239
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Walkthrough전역 쿼리에 재시도 규칙을 적용했습니다. 4xx Changes전역 쿼리 재시도
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk | ⚪ Minimal · up to
|
관련 이슈
closes #238
변경 사항
QueryProvider조회 기본값에retry추가ApiError의 4xx(400·401·404 등): 재시도하지 않음 — 다시 보내도 같음. 401은lib/api.ts가 이미 토큰 재발급·1회 재시도를 마친 결과NETWORK_ERROR상태 0,ApiError가 아닌 오류): 1회만 재시도(기본 지연 1초)retry: false)와 mutation(원래 재시도 없음)은 그대로리뷰어 참고 사항
추가 정보
실패 확정까지 걸린 시간 (jsdom, 실제 타이머,
QueryProvider그대로 · 요청 시간 0 — 정책 지연만)실제 화면에서는 여기에 요청마다 응답 시간이 더해집니다(main은 4번, head는 1~2번).
검증
pnpm exec tsc --noEmit통과 ·pnpm test334개 통과 ·pnpm build통과🤖 Generated with Claude Code
Summary by CodeRabbit