Skip to content

Codecov reports are failing to show-up #6564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MrAlias opened this issue Mar 27, 2025 · 4 comments
Open

Codecov reports are failing to show-up #6564

MrAlias opened this issue Mar 27, 2025 · 4 comments
Labels
bug Something isn't working pkg:tooling Related to the tooling package
Milestone

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Mar 27, 2025

https://app.codecov.io/github/open-telemetry/opentelemetry-go

Example successful upload from our CI: https://github.com/open-telemetry/opentelemetry-go/actions/runs/14112039492/job/39533072036

The corresponding page on the codecov UI: https://app.codecov.io/github/open-telemetry/opentelemetry-go/commit/7376a33e032fffd443e94fa12a82222a7fd3cc72

Image

Investigation is needed to resolve this error. We want our code-base accurately represented in the code coverage UI.

@MrAlias MrAlias added bug Something isn't working pkg:tooling Related to the tooling package labels Mar 27, 2025
@MrAlias MrAlias added this to the v1.36.0 milestone Mar 27, 2025
@MrAlias
Copy link
Contributor Author

MrAlias commented Mar 27, 2025

cc @pellared

@pellared
Copy link
Member

pellared commented Mar 27, 2025

I downloaded the reports from successful and failed uploads.

The failed uploads started to have the following "header":

/home/runner/work/opentelemetry-go/opentelemetry-go/codecov.SHA256SUM.sig
/home/runner/work/opentelemetry-go/opentelemetry-go/codecov
/home/runner/work/opentelemetry-go/opentelemetry-go/coverage-artifacts-~1.24.0/coverage.txt
/home/runner/work/opentelemetry-go/opentelemetry-go/codecov.SHA256SUM

Maybe there was some change in the codecov uploader which the codecov backend does not handle correctly?

Looks like there is already an issue for it:

@MrAlias
Copy link
Contributor Author

MrAlias commented Mar 28, 2025

Example reports:

opentelemetry-go-contrib.txt

opentelemetry-go.txt

The successful opentelemetry-go-contrib report starts with a full repository file listing. The opentelemetry-go one starts with what @pellared mentioned:

/home/runner/work/opentelemetry-go/opentelemetry-go/codecov.SHA256SUM.sig
/home/runner/work/opentelemetry-go/opentelemetry-go/codecov
/home/runner/work/opentelemetry-go/opentelemetry-go/coverage-artifacts-~1.24.0/coverage.txt
/home/runner/work/opentelemetry-go/opentelemetry-go/codecov.SHA256SUM

@MrAlias
Copy link
Contributor Author

MrAlias commented Mar 28, 2025

contrib is using a job step for the upload:

https://github.com/open-telemetry/opentelemetry-go-contrib/blob/b0c0319eecb7b133f1476c17490e80b2a8d57301/.github/workflows/ci.yml#L88-L93

otel is running it its own job:

https://github.com/open-telemetry/opentelemetry-go-contrib/blob/b0c0319eecb7b133f1476c17490e80b2a8d57301/.github/workflows/ci.yml#L88-L93

This was done to allow the upload to be retried without having to re-run the go coverage tests.

@github-project-automation github-project-automation bot moved this to Needs triage in Go: Triage Apr 10, 2025
@MrAlias MrAlias moved this from Needs triage to Low priority in Go: Triage Apr 10, 2025
@MrAlias MrAlias modified the milestones: v1.36.0, Subsequent v1.36.0 May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:tooling Related to the tooling package
Projects
Status: Low priority
Development

No branches or pull requests

2 participants