Skip to content

Fix Codecov CLI publishing - #547

Merged
AArnott merged 1 commit into
mainfrom
aarnott-fix-codecov-publishing
Aug 7, 2026
Merged

Fix Codecov CLI publishing#547
AArnott merged 1 commit into
mainfrom
aarnott-fix-codecov-publishing

Conversation

@AArnott

@AArnott AArnott commented Aug 7, 2026

Copy link
Copy Markdown
Owner

The retired Codecov uploader endpoints now return 404, while the workflow masked upload failures. This migrates coverage publishing to the supported Codecov CLI and makes upload failures fail the build.

  • Download the platform-specific CLI from cli.codecov.io into a distinct cache, using the current Codecov signing key and explicit GPG failure checks while retaining signature and SHA verification.
  • Invoke upload-process with explicit file discovery disabled, fail-on-error enabled, and optional flag/name arguments only when provided.
  • Propagate the uploader's exact nonzero exit code and remove continue-on-error from the workflow step.

Validation included PowerShell parsing, a fresh signed CLI download and SHA verification, required upload-process argument checks, and exact propagation of exit code 37 from a fake uploader.

Migrate coverage uploads to the supported Codecov CLI, verify its signed download, and propagate uploader failures to CI.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (dba613e) to head (e302561).
⚠️ Report is 40 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #547   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            2         2           
=========================================
  Hits             2         2           
Flag Coverage Δ
Linux 50.00% <ø> (ø)
Windows 100.00% <ø> (ø)
macOS 50.00% <ø> (ø)

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.

@AArnott
AArnott enabled auto-merge August 7, 2026 02:12
@AArnott
AArnott disabled auto-merge August 7, 2026 02:12
@AArnott
AArnott enabled auto-merge August 7, 2026 02:20
@AArnott
AArnott merged commit 79bb7f0 into main Aug 7, 2026
10 checks passed
@AArnott
AArnott deleted the aarnott-fix-codecov-publishing branch August 7, 2026 02:29
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