ci: Codecov PR コメントを有効化#46
Conversation
- workflows/ci.yml: pull-requests: write 権限を追加 - codecov.yml: comment レイアウトを標準値に調整し require_changes=false で表示確認
|
Warning Review limit reached
More reviews will be available in 9 minutes and 14 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 refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. 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 ignored due to path filters (2)
📒 Files selected for processing (1)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
=======================================
Coverage 65.88% 65.88%
=======================================
Files 9 9
Lines 170 170
Branches 50 50
=======================================
Hits 112 112
Misses 51 51
Partials 7 7 🚀 New features to boost your workflow:
|
## 概要 #46 で Codecov PR コメントの表示を確認できたため、`require_changes` を `true` に戻してノイズを軽減する。 ## 変更内容 - `codecov.yml` - `comment.require_changes: false` → `true` - カバレッジに変動がない PR ではコメントを投稿しない ## 参照 - #8 - #46 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Show Codecov PR comments only when coverage changes to reduce noise across pull requests. Switches `comment.require_changes` to `true` in `codecov.yml`, so no comment is posted when coverage is unchanged. <sup>Written for commit a67fd9a. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/yk-lab/setup-task/pull/47?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
## 概要 #46 / #47 で Codecov PR コメント対応が完了したため、TODO.md を最新の状態に更新する。 ## 変更内容 - Backlog の「未対応・進行中」から #8 を削除 - 「備考: 既に解決した Issue」セクションに #8 を #46 / #47 として追加 ## 参照 - Closes #8(対応済み) - #46 - #47 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update TODO.md after completing Codecov PR coverage comments. Remove #8 from Backlog and add it to the resolved issues section, referencing #46 and #47. <sup>Written for commit 9147f41. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/yk-lab/setup-task/pull/48?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
概要
Issue #8 対応。Codecov へのカバレッジ OIDC アップロードは既に動作しているが、PR コメントが表示されていなかったため修正する。
変更内容
.github/workflows/ci.ymlpermissionsにpull-requests: writeを追加codecov.ymlcommentセクションを調整layoutを"header, diff, flags, files"に変更behavior: defaultを削除(冗長)require_changes: falseにして、表示確認を容易に(動作確認後にtrueに戻す予定)TODO.md確認事項
require_changes: trueに戻す対応を行うこと参照
Summary by cubic
Enable Codecov PR comments so coverage changes show up directly on pull requests by granting
pull-requests: writein.github/workflows/ci.ymland updatingcodecov.yml(layout: "header, diff, flags, files";require_base/head: true).require_changes: falseis set temporarily to verify visibility and will be reverted in #8 after confirmation.Written for commit fbdc61a. Summary will update on new commits.