# UI codecov.io appears to show coverage for old commit IDs (github comment is correct)

**URL:** <https://community.codecov.com/t/ui-codecov-io-appears-to-show-coverage-for-old-commit-ids-github-comment-is-correct/3995>\
**Category:** Support\
**Tags:** golang, github\
**Created:** [December 6, 2022, 10:12am UTC](https://community.codecov.com/t/ui-codecov-io-appears-to-show-coverage-for-old-commit-ids-github-comment-is-correct/3995 "2022-12-06T10:12:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bogdanbiv](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/bogdanbiv/32/2763_2.png) [@bogdanbiv](https://community.codecov.com/u/bogdanbiv)\
**Post date:** [December 6, 2022, 10:12am UTC](https://community.codecov.com/t/ui-codecov-io-appears-to-show-coverage-for-old-commit-ids-github-comment-is-correct/3995/1 "2022-12-06T10:12:37Z")

</div>

## Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.  
[?] I have verified that my repository is using the [Codecov GitHub app](https://github.com/apps/codecov), if using GitHub – not sure what’s this; there are multiple ways to interact with Codecov and the App is the latest?  
 I have [validated](https://docs.codecov.com/docs/codecov-yaml#validate-your-repository-yaml) my `codecov.yaml` configuration file.  
 I have filled out the below sections to the best of my ability.

### Description

Description of the issue  
Github comment shows coverage for the correct commit ID `Merging #1040 (cef8bdc) into main (69f0cf6)`, app UI does not (shows the old 57f0033)

Rather confusingly, if I click on the PR link **in this comment** to view this on [Codecov.io](http://Codecov.io) app, the site opens the code cov for an old commit ID (57f0033).

PR header:

 ![2022-12-06 11_57_40-fix_ queries with images without a reference should return an error by alexstan1](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/2/2f66550bcc4ba9841ceb855454555b105628bc1c.png)

### CI/CD URL

Please provide a link to the CI/CD run.  
This is the github action for this PR: [fix: queries with images without a reference should return an error by alexstan12 · Pull Request #1040 · project-zot/zot · GitHub](https://github.com/project-zot/zot/pull/1040/checks?check_run_id=9887138784)  
I don’t know how to obtain the output of uploading codecov report files, for now

### Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.

```auto
[2022-12-05T11:18:19.585Z] ['info'] => Project root located at: /home/runner/work/zot/zot
[2022-12-05T11:18:19.589Z] ['info'] -> No token specified or token is empty
[2022-12-05T11:18:19.600Z] ['info'] Searching for coverage files...
[2022-12-05T11:18:19.723Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-12-05T11:18:19.723Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-12-05T11:18:19.724Z] ['info'] => Found 6 possible coverage files:
  coverage-dev-extended.txt
  coverage-dev-minimal.txt
  coverage-dev-needprivileges.txt
  coverage-extended.txt
  coverage-minimal.txt
  coverage.txt
[2022-12-05T11:18:19.724Z] ['info'] Processing /home/runner/work/zot/zot/coverage-dev-extended.txt...
[2022-12-05T11:18:19.766Z] ['info'] Processing /home/runner/work/zot/zot/coverage-dev-minimal.txt...
[2022-12-05T11:18:19.777Z] ['info'] Processing /home/runner/work/zot/zot/coverage-dev-needprivileges.txt...
[2022-12-05T11:18:19.788Z] ['info'] Processing /home/runner/work/zot/zot/coverage-extended.txt...
[2022-12-05T11:18:19.852Z] ['info'] Processing /home/runner/work/zot/zot/coverage-minimal.txt...
[2022-12-05T11:18:19.899Z] ['info'] Processing /home/runner/work/zot/zot/coverage.txt...
[2022-12-05T11:18:20.670Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-12-05T11:18:20.672Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.1-uploader-0.3.2&token= ******* &branch=badReq_wo_ref&build=3619140947&build_url=https%3A%2F%2Fgithub.com%2Fproject-zot%2Fzot%2Factions%2Fruns%2F3619140947&commit=cef8bdc044b1fa6a2eef3ae142218a2c1182edf9&job=build-test&pr=1040&service=github-actions&slug=project-zot%2Fzot&name=&tag=&flags=&parent=
[2022-12-05T11:18:21.184Z] ['info'] https://app.codecov.io/github/project-zot/zot/commit/cef8bdc044b1fa6a2eef3ae142218a2c1182edf9
https://storage.googleapis.com/codecov/v4/raw/2022-12-05/13D9364586E0A0C64B9CA332EDEA526C/cef8bdc044b1fa6a2eef3ae142218a2c1182edf9/4156c238-f78c-482b-b8c5-946fbdcb370c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221205T111821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca4ab7417b97cbf4fe8b027e9128ad7d57cdc6eaed43a89072c8d50354393df5
[2022-12-05T11:18:21.185Z] ['info'] Uploading...
[2022-12-05T11:18:21.472Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/project-zot/zot/commit/cef8bdc044b1fa6a2eef3ae142218a2c1182edf9"}

```

### Expected Results

Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).  
Since the Github comment has the correct info, I would expect codecov app to be in sync

### Actual Results

Please provide what actually happened.  
Rather confusingly, if I click on the [PR link 1040](https://codecov.io/gh/project-zot/zot/pull/1040?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=project-zot) to view this on [Codecov.io](http://Codecov.io) app, the site opens the code cov for an old commit ID (57f0033).

### Additional Information

Any additional information, configuration, or data that might be necessary to reproduce the issue.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [December 12, 2022, 10:42pm UTC](https://community.codecov.com/t/ui-codecov-io-appears-to-show-coverage-for-old-commit-ids-github-comment-is-correct/3995/2 "2022-12-12T22:42:46Z")

</div>

@bogdanbiv I’m a little bit confused by the description here. Can you provide some more links and screenshots where appropriate? I’m particularly not sure when you say `click ... link` which link in either the GitHub or Codecov UI.
