fix: 릴리즈 리뷰 반영 (특별휴무일 픽업 슬롯 빈 배열 반환) - #195
Conversation
릴리즈 PR #194 CodeRabbit 지적 반영. SDL 주석은 "영업하지 않는 날은 빈 배열"인데 특별휴무일은 요일 휴무와 달리 전체 슬롯을 available=false로 반환해 동작이 어긋났다. - storePickupTimeSlots: 특별휴무일도 요일 휴무와 동일하게 빈 배열 반환 - PAST/OUT_OF_RANGE/CAPACITY_FULL/당일 마감은 영업일이므로 기존대로 슬롯을 마감 표기로 유지 - 회귀 테스트 1건 추가 (특별휴무일 빈 배열)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
🩺 NestJS Doctor — 89/100 (Good)진단 279건 (error 0).
architecture / security 상위 항목
|
🧹 knip — dead-code 리포트전체 리포트
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Coverage report
Test suite run success1573 tests passing in 184 suites. Report generated by 🧪jest coverage report action from 21df412 |
배경
릴리즈 PR #194의 CodeRabbit 지적 반영입니다.
SDL 주석은 "영업하지 않는 날은 빈 배열"인데, 특별휴무일은 요일 휴무와 달리 전체 슬롯을
available: false로 반환해 동작이 어긋났습니다.특별휴무도 "매장이 그날 안 여는 날"이므로 요일 휴무와 동일하게 빈 배열로 통일합니다.
변경점
storePickupTimeSlots: 특별휴무일이면 슬롯 생성 전에 빈 배열 반환.PAST/OUT_OF_RANGE/CAPACITY_FULL/당일 리드타임 마감은 영업일이므로 기존대로 슬롯 마감 표기 유지.검증