Repository navigation
In 362 analytics 관련 수정사항 반영 - #213
Hidden character warning
Conversation
|
Warning Review limit reached
More reviews will be available in 45 minutes and 8 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate 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 see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Walkthrough
Changes채널 분석 데이터 검증 강화 및 응답 필드명 변경
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ 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 |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/main/java/com/example/inflace/domain/channel/service/ChannelService.java (1)
253-266: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win새 예외가 공개 API 계약에 반영되지 않았습니다.
Line 253에서
ANALYTICS_DATA_NOT_FOUND를 새로 던지도록 바뀌었는데,src/main/java/com/example/inflace/domain/channel/controller/ChannelApi.java:84-90의getSubscriberDistribution는 아직 이 에러를 선언하지 않습니다. 실제 응답과 Swagger 계약이 달라집니다.수정 예시
`@ApiErrorDefines`({ ErrorDefine.INVALID_ARGUMENT, ErrorDefine.CHANNEL_NOT_FOUND, ErrorDefine.AUTH_FORBIDDEN, - ErrorDefine.CHANNEL_ANALYTICS_NOT_FOUND + ErrorDefine.CHANNEL_ANALYTICS_NOT_FOUND, + ErrorDefine.ANALYTICS_DATA_NOT_FOUND }) BaseResponse<ChannelSubscriberDistributionResponse> getSubscriberDistribution(`@PathVariable` Long channelId);🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/main/java/com/example/inflace/domain/channel/service/ChannelService.java` around lines 253 - 266, `ChannelService.validateSubscriberDistributionAnalytics` now throws `ErrorDefine.ANALYTICS_DATA_NOT_FOUND`, but `ChannelApi.getSubscriberDistribution` does not declare it in the public API contract. Update the `getSubscriberDistribution` endpoint so its documented/declared responses include this new exception, keeping the controller’s Swagger contract and actual behavior aligned.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In
`@src/main/java/com/example/inflace/domain/channel/service/ChannelService.java`:
- Around line 253-266: `ChannelService.validateSubscriberDistributionAnalytics`
now throws `ErrorDefine.ANALYTICS_DATA_NOT_FOUND`, but
`ChannelApi.getSubscriberDistribution` does not declare it in the public API
contract. Update the `getSubscriberDistribution` endpoint so its
documented/declared responses include this new exception, keeping the
controller’s Swagger contract and actual behavior aligned.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: ea629979-d22b-4c22-90dc-d8a3086b09de
📒 Files selected for processing (2)
src/main/java/com/example/inflace/domain/channel/dto/response/ChannelEngagementRateResponse.javasrc/main/java/com/example/inflace/domain/channel/service/ChannelService.java
Issue
comment
analytics 관련하여 추가 요청사항 반영하였습니다!!
Summary by CodeRabbit
longFormEngagementRate/shortFormEngagementRate로 변경되었습니다.