codecov / codecov/codecov-action

[BUG] uploads fail since cli upgraded to v10.3.0

Open
#1,801 12 comments 8 reactions 1 assignee View on GitHub

@thomasrockhu-codecov is already working on this.

Since Apr 8, 2025.

bug Codecov Active Support codecov/codecov-action
Dominant language
Python
Stars
1.7k
Forks
260
Avg merge
1d 7h
Merged PRs (30d)
1

Description

Describe the bug

We are using the github action v.5.4.0 for codecov and saw all our uploads breaking since yesterday. After a lot of searching I saw that the cli version had changed from v10.2.1 to v10.3.0. We did not change any configuration on our side:

Image

The problem seems related to the data format of our uploaded file, which is now all of a sudden containing a few extra lines before <<<<< network:

/home/runner/work/company-name/codecov.SHA256SUM.sig
/home/runner/work/company-name/junit-backend.xml
/home/runner/work/company-name/lcov.info
/home/runner/work/company-name/coverage-backend.xml
/home/runner/work/company-name/coverage-functional.xml
/home/runner/work/company-name/codecov
/home/runner/work/company-name/codecov.SHA256SUM
/home/runner/work/company-name/junit-frontend.xml
/home/runner/work/company-name/junit-functional.xml
<<<<<< network

# path=/home/runner/work/company-name/coverage-functional.xml
<?xml version="1.0" ?>

These lines are only present since yesterday, and all uploads that have the lines fail.

Could you please help me? Thanks.

EDIT: We've changed the cli version back to v10.2.1 and everything works again.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.