Skip to content

Conversation

@claudia99503
Copy link
Member

@claudia99503 claudia99503 commented Dec 7, 2025

📝 변경 사항

스케줄 페이지 배포 환경 500 에러 수정

  • useSearchParams()를 사용하는 컴포넌트를 Suspense로 감싸도록 수정
  • TabNavigationScheduleContent를 각각 Suspense로 감싸서 동적 렌더링 처리

컴포넌트 구조 개선

  • ScheduleContent 컴포넌트 분리로 useSearchParams() 사용 부분 명확화

🔗 관련 이슈

Closes #


🧪 테스트 방법

  • 수동 테스트 검증(로컬 환경)
    • 로컬에서 schedule 페이지 정상 동작 확인
  • 유닛 테스트 검증
  • 통합 테스트 검증
  • 프로덕션 빌드 테스트
    • pnpm build 후 배포 환경에서 500 에러 해결 확인 필요

📸 스크린샷 (선택)

UI 변경사항 없음 (기능 수정만 진행)


📋 체크리스트

  • 관련 문서를 업데이트했습니다 (필요한 경우)
  • 테스트를 추가/수정했습니다 (필요한 경우)
  • Breaking change가 있다면 명시했습니다

💬 추가 코멘트

문제 상황

  • 로컬 개발 환경에서는 정상 작동했으나, 프로덕션 빌드에서 500 에러 발생
  • 에러 메시지: GET /_next/static/chunks/...js net::ERR_ABORTED 500 (Internal Server Error)

해결 방법

  • TabNavigationScheduleContent를 각각 Suspense로 감싸서 동적 렌더링 처리
  • 서버 렌더링 시 fallback을 표시하고, 클라이언트에서 search params가 준비되면 렌더링

참고사항

  • 향후 다른 페이지에서 TabNavigation 사용 시에도 Suspense로 감싸야 함

CodeRabbit Review는 자동으로 실행되지 않습니다.

Review를 실행하려면 comment에 아래와 같이 작성해주세요

@coderabbitai review

@claudia99503 claudia99503 added this to the 🚀 Sprint 1 milestone Dec 7, 2025
@claudia99503 claudia99503 added the Ready For Review! 리뷰 받을 준비가 되었습니다. label Dec 7, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 7, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/schedule-500-error

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

@github-actions
Copy link

github-actions bot commented Dec 7, 2025

🎨 Storybook Report

ℹ️ Story 변경사항이 감지되지 않았습니다

이 PR에는 Story 변경이 없어서 빌드를 스킵했습니다.

Status Storybook Build Log Updated (UTC)
⏭️ Skipped - - 2025-12-08 02:44:11

@github-actions
Copy link

github-actions bot commented Dec 7, 2025

📊 Coverage Report

Status Build Log Updated (UTC)
✅ Ready View Build 2025-12-08 02:44:26

📈 #99main에 병합하면 coverage가 0.22% 증가합니다.

Coverage 요약

@@             Coverage Diff             @@
##             main      #99       +/-   ##
===========================================
+ Coverage   36.71%   36.93%    +0.22%     
===========================================
  Files          80       80         0     
  Lines        3119     3130       +11     
  Branches      157      158        +1     
===========================================
+ Hits         1145     1156       +11     
  Misses       1974     1974         0     

영향받은 파일

이 PR로 영향받은 파일이 없습니다

수정된 모든 파일이 현재 coverage를 유지했습니다.

@github-actions
Copy link

github-actions bot commented Dec 7, 2025

🚀 PR Preview Report

Build가 성공적으로 완료되었습니다.

Preview에서 변경사항을 확인하세요.

Status Preview Build Log Updated (UTC)
✅ Ready Visit Preview View Logs 2025-12-08 02:45:42

Copy link
Member

@HopeFullee HopeFullee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout.tsx 에서 suspense 한번에 걸어주는건 어떨까? 하는 생각이 드네용.
나중에 같이 찾아봐용

@claudia99503
Copy link
Member Author

Layout.tsx 에서 suspense 한번에 걸어주는건 어떨까? 하는 생각이 드네용.

너무 좋은 생각입니다
내일 같이 이야기 해보아요 😙

@claudia99503 claudia99503 merged commit 4b2ed3c into main Dec 8, 2025
4 checks passed
@claudia99503 claudia99503 deleted the fix/schedule-500-error branch December 8, 2025 02:45
@github-project-automation github-project-automation bot moved this from Todo to Done in FrontEnd_Sprint_Planning Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready For Review! 리뷰 받을 준비가 되었습니다.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants