fix(user): wishlist 가시성 일관성 + 목록 정렬 안정화 (PR #81 리뷰 반영)#82
Conversation
PR #81 develop→main 릴리즈에 달린 Codex/CodeRabbit 리뷰 반영. - Codex P2: findWishlistedProductIds도 visibleWishlistWhere 사용하여 myWishlist/wishlistCount와 동일한 가시성 기준 공유. 비활성 store에 속한 product가 recent-view에서 isWishlisted=true로 보이지만 myWishlist에는 안 보이는 모순 회피. - CodeRabbit Major: findWishlistItems orderBy에 product_id 보조 정렬키 추가. 같은 밀리초에 생성된 항목의 페이지 경계 흔들림 방지. - 회귀 테스트 1건: 비활성 store의 product에 wishlist가 있어도 recent-view list에서 isWishlisted=false로 매핑됨 (가시성 일관)
|
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 Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Coverage report
Test suite run success868 tests passing in 77 suites. Report generated by 🧪jest coverage report action from 4c35731 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
PR #81 (develop→main 릴리즈)에 달린 Codex/CodeRabbit 리뷰 2건 반영.
머지 후 develop 갱신 → PR #81에 자동 포함됨.
변경 사항
Codex P2: findWishlistedProductIds 가시성 일관성
CodeRabbit Major: findWishlistItems orderBy tie-breaker
회귀 테스트
Breaking 여부
Test plan