Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
전체 요약배포 모니터링 스크립트에 환경 기반 조건부 로직이 추가되어, 프로덕션/개발 경로를 동적으로 선택하고 컨테이너 이름 및 헬스 체크 엔드포인트가 환경과 컬러(blue/green)에 따라 생성됩니다. 모든 알림 훅에 ENV 파라미터가 전달되도록 수정되었습니다. 변경사항
코드 리뷰 예상 난이도🎯 3 (Moderate) | ⏱️ ~20분 관련 PR
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan for PR comments
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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7bc76e40c2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| CONTAINER_NAME="souzip-api-${CONTAINER_COLOR:-blue}" | ||
| case "$CONTAINER_COLOR" in |
There was a problem hiding this comment.
prod 분기에서 CONTAINER_COLOR를 기준으로 포트/컨테이너를 고르지만 이 스크립트는 .env에서 DISCORD_WEBHOOK_URL만 읽고 CONTAINER_COLOR를 로드하지 않아 unset 시 항상 blue(8081)로 고정됩니다. deploy/prod/scripts/deploy.sh는 blue/green을 번갈아 배포한 뒤 이전 색상을 down 하므로 green이 active인 배포 사이클에는 서비스가 정상이어도 헬스체크/컨테이너 중지 알림이 오탐될 수 있습니다; active 색상을 upstream에서 계산하거나 CONTAINER_COLOR를 확실히 주입하는 방식이 필요합니다.
Useful? React with 👍 / 👎.
Summary by CodeRabbit
변경 사항