Repository navigation
[Fix/#605] 과제/댓글 API 버그 수정 및 Swagger 문서 정비 - #606
Conversation
|
Warning Review limit reached
Next review available in: 31 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthrough과제 마감일 계산과 세부 과제 검증을 수정했습니다. 초대 링크 권한과 만료 조건을 정비했습니다. 댓글 권한 오류를 구체화했습니다. 관련 OpenAPI 오류 응답과 요청 스키마를 갱신했습니다. Changes과제 동작 및 API 계약
Estimated code review effort: 3 (Moderate) | ~20 minutes Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
# Conflicts: # src/services/task.service.js # src/swagger/swagger.yml # tests/unit/subtask-enddate-nullable.test.js
📌 PR 제목 (제목 작성 후 해당 부분은 내용에서 지워주세요!)
[Feat/#이슈 번호] " pr message "
(예시 : [Feat/#1] "로그인 기능 추가")
📌 관련 이슈번호
(Closes 키워드가 있어야 PR이 머지되었을 때 이슈가 자동으로 닫힌다)
📌 PR 유형
어떤 변경 사항이 있나요?
📌 PR 요약
해당 PR을 간단하게 요약해 주세요
📌 작업 세부 내용
요약
API 명세서(노션)와 swagger, 실제 코드 동작을 대조 점검하면서 발견한
버그 수정 및 문서 정리입니다.
버그 수정
UTC+9 명시적 변환으로 수정 (배포 서버가 UTC 타임존이면 KST 자정
전후로 하루씩 밀리던 문제)
수정 API에 빠져있던 "부모 과제 마감일 초과 불가" 검증 추가,
부모 마감일이 이미 지난 경우
TASK_DEADLINE_EXPIRED로 구분 반환error.status를 잘못 지정해 실제로는 500이나가던 것을 수정 (문서는 403으로 되어있었는데 코드가 안 맞았음)
코드를 재조회하는 경로에 멤버십 검증이 없어, 과제 멤버가 아니어도
taskId만 알면 초대 코드를 가져갈 수 있던 문제 수정
문서 정리
마감일 변경, 댓글 CRUD, 세부과제 상태 변경, 초대 코드 생성,
개인→팀 과제 전환)
누락된 400 검증 케이스 추가
테스트
npx vitest run전체 통과 (기존부터 실패하던 무관한 테스트 제외,회귀 없음을 베이스라인과 비교해 확인)
📸 스크린샷 (선택)
🔗 참고 자료
Summary by CodeRabbit
버그 수정
문서화