coveralls-public icon indicating copy to clipboard operation
coveralls-public copied to clipboard

Coverage sometimes goes away on summary page

Open jasonstitt opened this issue 3 years ago • 1 comments

  • We have a repo set up with a coverage score displayed on the summary page
  • Another build goes through
  • The summary page shows a "hollow" (outline) % sign with no percentage. Sometimes there is a branch % listed in smaller type below that.
  • On clicking into the repo page, there is an actual (and solid) percentage score shown at the top

Is there something we can do differently here to get the default branch coverage consistently shown on the summary page? Or is this potentially related to slow job runs?

jasonstitt avatar May 20 '21 16:05 jasonstitt

Hi @jasonstitt, in the case I imagine you were referring to, the last build on your default branch had not completed. Which is to say, the very last background job had not completed, specifically, that which renders the TREE view in the SOURCE FILES table. This may relate to "slow job runs," in terms of build time, in that, sometimes, due to traffic, build times will be slow and a build will hang in a state like this until all its jobs complete. However, in this case, it seems the final job hung permanently, or failed, leaving the build in its unfinished state, which did not update the coverage cache for the repo.

In case like this, you have two options:

  1. Re-run the build at your CI (if your CI offers that feature).
  2. Contact us at [email protected] and we can run the procedure that the failed job would have run.

Sorry for the inconvenience.

There is an existing issue in our backlog to address the resulting missing coverage data on the ALL REPOS index page. I have added your case as an example.

afinetooth avatar May 25 '21 20:05 afinetooth

This issue has been automatically marked for closure because it has not had recent activity. It will be closed if no further activity occurs. If your issue is still active please add a comment and we’ll review as soon as we can. Thank you for your contributions.

stale[bot] avatar Sep 20 '22 20:09 stale[bot]