Skip to content

ci: codecov の GPG 署名検証失敗を PyPI 版 CLI で回避する#6830

Merged
dotani1111 merged 1 commit into
EC-CUBE:4.4from
dotani1111:fix/ci-codecov-use-pypi
Jun 12, 2026
Merged

ci: codecov の GPG 署名検証失敗を PyPI 版 CLI で回避する#6830
dotani1111 merged 1 commit into
EC-CUBE:4.4from
dotani1111:fix/ci-codecov-use-pypi

Conversation

@dotani1111

@dotani1111 dotani1111 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

概要(Overview・Refs Issue)

cli.codecov.io のバイナリで GPG 公開鍵を取得できず署名検証が "No public key" で失敗し、coverage アップロードが落ちる

  • codecov-action に use_pypi: true を追加し PyPI 版 CLI を使う

方針(Policy)

実装に関する補足(Appendix)

テスト(Test)

相談(Discussion)

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更はありません
  • フックポイントの呼び出しタイミングの変更はありません
  • フックポイントのパラメータの削除・データ型の変更はありません
  • twigファイルに渡しているパラメータの削除・データ型の変更はありません
  • Serviceクラスの公開関数の、引数の削除・データ型の変更はありません
  • 入出力ファイル(CSVなど)のフォーマット変更はありません

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

Summary by CodeRabbit

リリースノート

  • Chores
    • コード カバレッジ アップロード プロセスの信頼性を向上させました。

cli.codecov.io のバイナリで GPG 公開鍵を取得できず署名検証が "No public key" で失敗し、coverage アップロードが落ちる

- codecov-action に use_pypi: true を追加し PyPI 版 CLI を使う

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a4fb1e98-5afe-4e97-90f7-ecbe0d3ddfd0

📥 Commits

Reviewing files that changed from the base of the PR and between f2711b3 and 65b857e.

📒 Files selected for processing (1)
  • .github/workflows/coverage.yml

📝 Walkthrough

Walkthrough

.github/workflows/coverage.ymlのCodecovアップロード設定にuse_pypi: trueフラグを追加し、公開鍵取得失敗や署名検証エラーを回避する旨のコメントを付与。

Changes

Codecov設定更新

レイヤー / ファイル 概要
Codecov PyPI CLI設定
.github/workflows/coverage.yml
codecov-actionのuse_pypi: true設定を追加し、PyPI版CLIの使用によって公開鍵取得失敗や署名検証エラーを回避することについてのコメントを記述。

推定レビュー時間

🎯 1 (Trivial) | ⏱️ ~3 分

推奨レビュアー

  • ji-eunsoo
  • ttokoro20240902

Poem

🐰 PyPIで信頼を得て、
Codecovの鍵も正しく検証される、
シンプルな設定が大きな安心をもたらし、
カバレッジの旅もスムーズに…
ぴょん!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PRのタイトルは、codecovのGPG署名検証失敗をPyPI版CLIで回避するという変更内容を明確かつ簡潔に要約しており、実装内容(codecov-actionにuse_pypi: trueを追加)の主要な目的と完全に一致している。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@dotani1111 dotani1111 marked this pull request as ready for review June 12, 2026 02:33
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.93%. Comparing base (fce3244) to head (65b857e).
⚠️ Report is 56 commits behind head on 4.4.

Additional details and impacted files
@@             Coverage Diff              @@
##                4.4    #6830      +/-   ##
============================================
- Coverage     75.33%   74.93%   -0.41%     
============================================
  Files           483      463      -20     
  Lines         26277    24029    -2248     
============================================
- Hits          19797    18005    -1792     
+ Misses         6480     6024     -456     
Flag Coverage Δ
Unit 74.93% <ø> (-0.41%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nanasess nanasess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@dotani1111 dotani1111 enabled auto-merge June 12, 2026 05:11
@dotani1111 dotani1111 merged commit 2930d11 into EC-CUBE:4.4 Jun 12, 2026
416 of 417 checks passed
@dotani1111 dotani1111 deleted the fix/ci-codecov-use-pypi branch June 12, 2026 06: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.

3 participants