Skip to content

[feat] 댓글/피드 신고 API 추가 (신고 횟수 증가) - #375

Merged
hd0rable merged 2 commits into
developfrom
feat/report-count
Aug 7, 2026
Merged

[feat] 댓글/피드 신고 API 추가 (신고 횟수 증가)#375
hd0rable merged 2 commits into
developfrom
feat/report-count

Conversation

@hd0rable

@hd0rable hd0rable commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Comment, Feed 도메인에 report_count 컬럼만 있고 실제 처리 로직이 없어서 신고 API를 도메인별로 추가
  • 각 도메인의 기존 좋아요/삭제 API와 동일한 구조(Controller → UseCase → Service)로 구현
  • 별도의 신고 테이블/중복 신고 방지 로직 없이 신고 횟수만 증가

Endpoints

  • POST /comments/{commentId}/report → 댓글 신고 횟수 증가
  • POST /feeds/{feedId}/report → 피드 신고 횟수 증가

Test plan

  • ./gradlew test 전체 테스트 통과 확인
  • ./gradlew compileJava 컴파일 확인

🤖 Generated with Claude Code

Comment, Feed 도메인에 report_count 컬럼만 있고 실제 처리 로직이 없어
각 도메인별로 신고 API를 추가하고 신고 횟수만 증가시키도록 구현.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@hd0rable, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 41 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a9bb6818-6c01-4331-9495-f8a54ba97925

📥 Commits

Reviewing files that changed from the base of the PR and between 78f7fd3 and 8fb4891.

📒 Files selected for processing (13)
  • src/main/java/konkuk/thip/comment/adapter/in/web/CommentCommandController.java
  • src/main/java/konkuk/thip/comment/adapter/in/web/response/CommentReportResponse.java
  • src/main/java/konkuk/thip/comment/application/port/in/CommentReportUseCase.java
  • src/main/java/konkuk/thip/comment/application/port/in/dto/CommentReportResult.java
  • src/main/java/konkuk/thip/comment/application/service/CommentReportService.java
  • src/main/java/konkuk/thip/comment/domain/Comment.java
  • src/main/java/konkuk/thip/common/swagger/SwaggerResponseDescription.java
  • src/main/java/konkuk/thip/feed/adapter/in/web/FeedCommandController.java
  • src/main/java/konkuk/thip/feed/adapter/in/web/response/FeedReportResponse.java
  • src/main/java/konkuk/thip/feed/application/port/in/FeedReportUseCase.java
  • src/main/java/konkuk/thip/feed/application/port/in/dto/FeedReportResult.java
  • src/main/java/konkuk/thip/feed/application/service/FeedReportService.java
  • src/main/java/konkuk/thip/feed/domain/Feed.java

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.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Test Results

500 tests   500 ✅  48s ⏱️
149 suites    0 💤
149 files      0 ❌

Results for commit 8fb4891.

♻️ This comment has been updated with latest results.

@hd0rable
hd0rable merged commit c835294 into develop Aug 7, 2026
4 checks passed
@hd0rable
hd0rable deleted the feat/report-count branch August 7, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant