Skip to content

Coverage decreased and doesn't go back to reasonable values (failed upload in commit associated to decrease) #694

@m-albert

Description

@m-albert

Describe the bug

Reported code coverage on my repository decreased (erroneously) after merging a PR from 80% to ~7% and since then doesn't go back to reasonable values. I think the coverage.xml upload failed in the CI after merging.

Commit that showed strong decrease:
https://app.codecov.io/gh/multiview-stitcher/multiview-stitcher/commit/79cf8faa4979e9a2396471e8a5f449e900f65162

It seems that now coverage changes in new commits are correctly computed (e.g. here) , but the wrong reference value is propagated.

How can I fix this, is there a way to reset the reference?

Thank you for any help 🙏

Environment (please complete the following information):

  • github CI

To Reproduce

https://app.codecov.io/gh/multiview-stitcher/multiview-stitcher/commit/79cf8faa4979e9a2396471e8a5f449e900f65162

Expected behavior
Project coverage

  1. shows reasonable values
  2. values that are close to what's shown in the individual uploads

Screenshots

Dropping commit:
Image

New commits:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions