Uh oh!
There was an error while loading. Please reload this page.
ci: PR 변경 라인 기준 diff coverage 게이트 추가 - #246
Conversation
로직이 수정/추가돼도 테스트가 안 따라오는 경우를 CI가 기계적으로 잡을 방법이 없었음(기존 CI는 기존 테스트 통과 여부만 확인). - JaCoco로 커버리지 리포트(xml) 생성 - diff-cover로 PR에서 실제로 바뀐 라인만 커버리지 검사(70% 미만 시 CI 실패) - 전체 커버리지 게이트가 아니라 diff 기준이라, 기존 미테스트 코드가 발목잡지 않으면서 "새로 바뀐 부분"만 강제함 로컬에서 기존 PR #243 diff로 실제 검증: KakaoSignInService(0%), AppleSignInService(16.7%) 등 테스트 없이 들어간 라인을 정확히 잡아냄.
Warning Review limit reached
Next review available in:49 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 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: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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 |
Uh oh!
There was an error while loading. Please reload this page.
작업 배경
prod-ci.yml)는./gradlew build로 기존 테스트 통과 여부만 확인 — 로직을 수정했는데 테스트를 안 고치거나, 새 로직을 추가했는데 테스트를 안 써도 CI는 그냥 초록불이었음변경 사항
build.gradlejacoco플러그인 추가,jacocoTestReport가 xml/html 리포트 생성하도록 설정,test태스크에finalizedBy연결.github/workflows/prod-ci.ymlactions/checkout에fetch-depth: 0추가(base 브랜치 diff 비교용),diff-cover로 변경 라인 커버리지 70% 미만 시 CI 실패하는 스텝 추가README.md선택지 및 근거
영향 범위
build체크가 실패함검증 매트릭스
로컬에서 실제 검증(과거 PR #243의 diff를 대상으로
diff-cover실행):./gradlew jacocoTestReport정상 생성build/reports/jacoco/test/jacocoTestReport.xml생성 확인KakaoSignInService.java(0%),AppleSignInService.java(16.7%) — PR #243에서 테스트 없이 추가된 타임아웃 로직을 정확히 검출./gradlew build) 통과Test Plan
./gradlew build전체 통과🤖 Generated with Claude Code