Skip to content

ci: Codecov PR コメントを有効化#46

Merged
yk-lab merged 2 commits into
mainfrom
feat/codecov-pr-comments
Jun 22, 2026
Merged

ci: Codecov PR コメントを有効化#46
yk-lab merged 2 commits into
mainfrom
feat/codecov-pr-comments

Conversation

@yk-lab

@yk-lab yk-lab commented Jun 22, 2026

Copy link
Copy Markdown
Owner

概要

Issue #8 対応。Codecov へのカバレッジ OIDC アップロードは既に動作しているが、PR コメントが表示されていなかったため修正する。

変更内容

確認事項

参照


Summary by cubic

Enable Codecov PR comments so coverage changes show up directly on pull requests by granting pull-requests: write in .github/workflows/ci.yml and updating codecov.yml (layout: "header, diff, flags, files"; require_base/head: true). require_changes: false is set temporarily to verify visibility and will be reverted in #8 after confirmation.

Written for commit fbdc61a. Summary will update on new commits.

Review in cubic

yk-lab added 2 commits June 23, 2026 01:09
- workflows/ci.yml: pull-requests: write 権限を追加

- codecov.yml: comment レイアウトを標準値に調整し require_changes=false で表示確認
- Issue #8 を reopen し進行中として反映

- #37#45 の新規 Issue を追加
@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@yk-lab, we couldn't start this review because you've reached your PR review rate limit.

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 @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 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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 77b68461-d3d3-498d-9964-1117bfc44c7b

📥 Commits

Reviewing files that changed from the base of the PR and between 7083f62 and fbdc61a.

⛔ Files ignored due to path filters (2)
  • .github/workflows/ci.yml is excluded by !**/*.yml
  • codecov.yml is excluded by !**/*.yml
📒 Files selected for processing (1)
  • TODO.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/codecov-pr-comments

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 and usage tips.

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.88%. Comparing base (c8d077c) to head (fbdc61a).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

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:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

@yk-lab yk-lab merged commit 4378034 into main Jun 22, 2026
15 checks passed
@yk-lab yk-lab deleted the feat/codecov-pr-comments branch June 22, 2026 16:13
yk-lab added a commit that referenced this pull request Jun 22, 2026
## 概要

#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. -->
yk-lab added a commit that referenced this pull request Jun 22, 2026
## 概要

#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. -->
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.

[ci] Codecov でテストカバレッジを PR 表示する

1 participant