Skip to content

Stabilize Codecov upload#181

Merged
rafaelha merged 1 commit into
mainfrom
codex/fix-codecov-upload
Jul 21, 2026
Merged

Stabilize Codecov upload#181
rafaelha merged 1 commit into
mainfrom
codex/fix-codecov-upload

Conversation

@rafaelha

Copy link
Copy Markdown
Collaborator

Summary

  • upload coverage to Codecov only from the Python 3.12 matrix job
  • install the Codecov CLI from PyPI to avoid the flaky Keybase/GPG download path
  • keep fail_ci_if_error: true so genuine upload failures still fail CI

Root cause

The test suite was passing, but one matrix job would intermittently fail while codecov/codecov-action@v7 fetched and imported its GPG public key. The failed key response produced gpg: no valid OpenPGP data found, and rerunning succeeded after the upstream endpoint recovered.

Running four identical coverage uploads increased exposure to that external failure and made it appear tied to whichever Python job encountered it.

Impact

Coverage is uploaded once from Python 3.12, which is already the job that archives coverage.xml. The PR coverage-comment job and the full Python test matrix remain unchanged.

Validation

  • workflow YAML parses successfully
  • YAML, whitespace, spelling, and dependency pre-commit hooks pass
  • independent review found no workflow or Codecov input issues
  • the repository-wide Pyright hook remains blocked by four pre-existing batch_size errors in test/unit/benchmarks/clifft_benchmarks.py, unrelated to this workflow-only change

@rafaelha
rafaelha marked this pull request as ready for review July 21, 2026 21:29
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-21 21:33 UTC

@github-actions

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
2962 2774 94% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: fa7b390 by action🐍

@rafaelha
rafaelha merged commit bc2cfa6 into main Jul 21, 2026
11 checks passed
@rafaelha
rafaelha deleted the codex/fix-codecov-upload branch July 21, 2026 21:33
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