Skip to content

[fix][[program-service] createSchedule 시 totalCapacity 입력 제거 및 remainingCount 값과 일치화, deploy 설정 수정#29

Merged
sweetRainShin merged 5 commits into
devfrom
fix/28-remove-totalCapacity-request-fix-deploy
May 19, 2026
Merged

[fix][[program-service] createSchedule 시 totalCapacity 입력 제거 및 remainingCount 값과 일치화, deploy 설정 수정#29
sweetRainShin merged 5 commits into
devfrom
fix/28-remove-totalCapacity-request-fix-deploy

Conversation

@sweetRainShin
Copy link
Copy Markdown
Contributor

🌱 설명

이 PR에서 어떤 작업을 했는지 간략하게 설명해주세요.

  • totalCapacity 값을 remainingCount 값과 일치화, deploy 설정 수정

📌 관련 이슈

이 PR과 연관된 이슈 번호를 작성해주세요. (이슈 없으면 생략 가능)

💻 커밋 유형

해당하는 항목에 x를 채워주세요.

  • feat : 새로운 기능 추가
  • fix : 버그 수정 (긴급 핫픽스 포함)
  • refactor : 리팩토링
  • chore : 빌드 설정, 의존성 업데이트 등
  • docs : 문서 수정
  • comment : 주석 추가 및 변경
  • rename : 파일 / 폴더 이동 또는 이름 변경
  • remove : 파일 삭제
  • test : 테스트 코드 추가 / 수정

📝 체크리스트

PR 올리기 전에 아래 항목을 확인해주세요.

  • develop 브랜치 기준으로 feature 브랜치를 생성했나요?
  • 코드 컨벤션 및 스타일 가이드를 준수했나요?
  • 관련 이슈와 연결했나요?
  • 설명이 필요한 부분 / 어려운 부분 / 공유가 필요한 부분에 주석을 추가했습니다.
  • 제가 작성한 코드를 스스로 리뷰했습니다.
  • 기존 테스트와 충돌하지 않음을 확인했나요?

📚 추가 설명

리뷰어가 참고해야 할 내용, 첨부 이미지 등이 있다면 자유롭게 추가해주세요. (선택)

  • 예) 라이브러리 버전을 올리면서 설정 방식이 변경되었습니다.

- CreateScheduleRequest: totalCapacity 필드 제거
- CreateScheduleCommand: totalCapacity 필드 제거
- ProgramCommandService.createSchedule(): venueValidation.totalCapacity()를 totalCapacity로 직접 사용
- UpdateScheduleRequest / UpdateScheduleCommand: totalCapacity 필드 제거
- ProgramCommandService.updateSchedule(): totalCapacity 관련 검증 제거
@sweetRainShin sweetRainShin requested a review from haeun228 May 18, 2026 16:46
@sweetRainShin sweetRainShin self-assigned this May 18, 2026
@sweetRainShin sweetRainShin added the 🛠️ fix 버그 수정 및 핫픽스 label May 18, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

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.

⚙️ Run configuration

Configuration used: Repository: first-ticket/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 66c10c2c-8d4a-46f7-8aa8-224276adf333

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/28-remove-totalCapacity-request-fix-deploy

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.

❤️ Share

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

Copy link
Copy Markdown
Contributor

@haeun228 haeun228 left a comment

Choose a reason for hiding this comment

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

도커파일이랑 워크플로우는 어떤 이유로 수정하신 걸까요?
CI 실패하는거 수정하시고 머지하시면 될거같아요

Comment thread .github/workflows/deploy.yml Outdated
Comment on lines +100 to +108
- name: Fill in the new image ID in the Amazon ECS task definition
id: render-task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: venue-service
image: ${{ steps.ecr-login.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ github.sha }}


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

task definition에 제일 최신 이미지를 사용하도록 설정해놔서 이 부분은 필요 없습니다

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

아 latest를 푸시하는 건 배포가 제대로 적용되지 않을 수 있다고 들어서 적용했습니다..! Dockerfile에 이상한 부분 때문에 빌드가 실패한 것 같습니다.. 이 부분은 문제 없이 되긴하는데 latest로 통일하겠습니다

Comment thread .github/workflows/deploy.yml Outdated
task-definition: task-definition.json
service: program-service
task-definition: ${{ steps.render-task-def.outputs.task-definition }}
service: venue-service
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

program-service 입니다.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

어쩐지 venue는 배포가 잘 되더라구요 수정하겠습니다!

Comment thread .github/workflows/deploy.yml Outdated
Comment on lines +95 to +104
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition program-service \
--query taskDefinition > task-definition.json

- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition program-service \
--query taskDefinition > task-definition.json

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

이 부분이 중복으로 들어가있네요

@haeun228
Copy link
Copy Markdown
Contributor

API 변경한 대로 테스트 코드도 수정하셔야 CI 통과될 것 같습니다

@sweetRainShin sweetRainShin merged commit ba77fee into dev May 19, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in First Ticket May 19, 2026
@sweetRainShin sweetRainShin deleted the fix/28-remove-totalCapacity-request-fix-deploy branch May 19, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ fix 버그 수정 및 핫픽스

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[fix][program-service] createSchedule 시 totalCapacity 입력 제거 및 remainingCount 값과 일치화, deploy task-definition 재정의 step 추가

2 participants