feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Older commit recognized as the latest

Open malyginvv opened this issue 1 year ago • 0 comments

Describe the bug Codecov uses older commit as the latest one and shows wrong coverage on the badge.

Environment (please complete the following information):

  • Browser - Firefox 120.0.1
  • System - Codecov web interface, badge renderer. I use CircleCI Codecov orb v3.3.0

To Reproduce Steps to reproduce the behavior: I'm not sure this is reproducible. I was making commits as usual and badge file was updated correctly every time. Now it shows that the latest commit is 2c5f9d7 and coverage is 84.65%. But when I go to the "Commits" tab I see that the last commit is in fact 8a558747 with coverage 93.88%. 2c5f9d7 is also present in the list but on the third place. Badge shows coverage for commit 2c5f9d7. It shows correct coverage but for the wrong commit.

Expected behavior Coverage tab correctly displays the latest commit. Badge shows the latest coverage.

Screenshots Screenshot 2023-12-20 at 23-14-52 Code coverage done right Screenshot 2023-12-20 at 23-15-09 Code coverage done right

Additional context I think badge showed the latest coverage a couple of days ago, but I didn't take any screenshots at that time.

malyginvv avatar Dec 20 '23 23:12 malyginvv