Skip to content

chore: 기사님 상세 SSR prefetch 오류 진단 추가 - #104

Merged
yooseohyeon merged 1 commit into
devfrom
fix/debug-mover-detail-ssr-prefetch
Aug 10, 2026
Merged

chore: 기사님 상세 SSR prefetch 오류 진단 추가#104
yooseohyeon merged 1 commit into
devfrom
fix/debug-mover-detail-ssr-prefetch

Conversation

@yooseohyeon

@yooseohyeon yooseohyeon commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

📋 작업 내용

기사님 상세 페이지의 서버 prefetch 실패 원인을 브라우저 콘솔에서 확인할 수 있도록 임시 진단 로그를 추가했습니다.


🔥 변경 사항

  • MoverDetailPage
    • SSR 상세 prefetch Query의 실패 상태와 오류 정보를 확인하도록 수정
    • 오류 메시지를 클라이언트 컴포넌트로 전달
  • MoverDetailView
    • SSR prefetch 실패 시 브라우저 콘솔에 기사 ID와 오류 내용을 출력

✅ 체크리스트

  • 로컬에서 정상 동작을 확인했습니다.
  • 기존 기능에 영향을 주지 않는지 확인했습니다.
  • 불필요한 console.log를 제거했습니다.
  • lint를 통과했습니다.
  • README 또는 문서를 수정했습니다. (필요 시)
  • API 명세와 일치하는지 확인했습니다.

💬 To Reviewer

배포 환경에서 SSR 상세 prefetch가 실패해 initialDetailnull로 렌더링되는 현상을 확인하기 위한 임시 진단 코드입니다.

배포 후 브라우저 콘솔에서 오류 원인을 확인한 뒤, 원인 해결 PR에서 해당 console.error와 오류 전달 Prop은 제거할 예정입니다.

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
moving-frontend Building Building Preview Aug 10, 2026 9:48am
moving-frontend-p2ol Building Building Preview Aug 10, 2026 9:48am

@yooseohyeon
yooseohyeon merged commit aeafb89 into dev Aug 10, 2026
1 of 4 checks passed
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1b82c967-34bb-4ec5-a92e-59c9c7b8d968

📥 Commits

Reviewing files that changed from the base of the PR and between 68e801a and 817f6c6.

📒 Files selected for processing (2)
  • src/app/movers/[moverId]/page.tsx
  • src/components/mover/detail/MoverDetailView.tsx

📝 Walkthrough

Walkthrough

SSR 상세 데이터 프리패치 오류를 표준 문자열로 변환합니다. 오류를 MoverDetailView에 전달하고 console.error로 기록합니다. 기존의 프리패치 예외 무시 동작을 제거했습니다.

Changes

SSR 상세 프리패치 오류 처리

Layer / File(s) Summary
프리패치 오류 변환 및 전달
src/app/movers/[moverId]/page.tsx
ApiError에 메시지, HTTP 상태, 오류 코드를 포함합니다. 일반 오류와 알 수 없는 오류도 문자열로 변환합니다. 프리패치 쿼리 상태에서 초기 데이터와 오류 메시지를 확인하고 MoverDetailView에 전달합니다.
상세 화면 오류 기록
src/components/mover/detail/MoverDetailView.tsx
initialDetailError prop을 추가합니다. 오류가 있으면 moverId와 함께 SSR 상세 프리패치 실패를 console.error로 기록합니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/debug-mover-detail-ssr-prefetch

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant