-
Notifications
You must be signed in to change notification settings - Fork 7
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
Incorrect coverage badge #414
Comments
I have this same problem as well, only 59% for me, though I have seen it jump after increasing coverage.. It seems that a few moments after a Travis CI build, the badge updates (after a few refreshes), then after a short amount of time, it goes back to 59% :( |
Hi, I'm also experiencing problems with updates. I received the initial update but the badge hasn't updated since. It's been a few days now. Thanks |
Same here. Coverage is at 91.37 (green!) but badge says 89.34 (yellow!). https://coveralls.io/r/BallAerospace/COSMOS |
Where is the |
Apart from the branch issue mentioned above, it looks like GitHub is messing up the icons. This is a Travis image embedded in a page: <a href="https://travis-ci.org/evoskuil/libbitcoin">
<img
src="https://camo.githubusercontent.com/637e6807fc018c7d71efabf1e9fd20715017498c/68747470733a2f2f7472617669732d63692e6f72672f65766f736b75696c2f6c6962626974636f696e2e7376673f6272616e63683d6d6173746572"
alt="Build Status"
data-canonical-src="https://travis-ci.org/evoskuil/libbitcoin.svg?branch=master"
style="max-width:100%;">
</a> This is a Coveralls image in the same page. <a href="https://coveralls.io/r/evoskuil/libbitcoin">
<img
src="https://camo.githubusercontent.com/a38411cf4340c095eae7c9b6d2c28d60215ff3b7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f65766f736b75696c2f6c6962626974636f696e2f62616467652e737667"
alt="Coverage Status"
data-canonical-src="https://coveralls.io/repos/evoskuil/libbitcoin/badge.svg"
style="max-width:100%;">
</a> Apart from the inability to target the master branch, they are basically the same. But the [![Build Status](https://travis-ci.org/evoskuil/libbitcoin.svg?branch=master)](https://travis-ci.org/evoskuil/libbitcoin)
[![Coverage Status](https://coveralls.io/repos/evoskuil/libbitcoin/badge.svg)](https://coveralls.io/r/evoskuil/libbitcoin) The Hitting the URLs directly returns the a redirect to the correct images:
currently (and correctly) redirects to:
Yet the presentation is the cached image from GitHub:
Which is the "coverage unknown" gray image. The redirect is as follows:
This is a It is odd however that the Travis image works properly, and it is returning a
returns:
Seems backwards, but Coveralls may want to do what Travis is doing. |
This is also affecting a repository I contribute to. The coverage is 99.69%, but the badge shows 95%. This is for build 1266. > http -p h https://coveralls.io/repos/orgsync/active_interaction/badge.svg |
grep '^Location: '
Location: https://s3.amazonaws.com/assets.coveralls.io/badges/coveralls_95.svg |
@evoskuil The badge amount is even messed up on coverall's own pages. See for example on https://coveralls.io/github/dkubb/ice_nine where the right hand side shows 81%, and everywhere else shows 100%. This looks like some kind of caching problem. It's been an ongoing issue for the past year. :( |
This issue is also happening on my github page https://github.com/uklance/tiny-ioc NOTE: I also have travis and bintray badges which don't have the same problem. I suggest inspecting the http responses to see the diferences, I'm guessing it's response cache headers. Travis Image URL (as transformed by github)Travis response headersAccept-Ranges bytes Coveralls Image URL (as transformed by github)Coveralls Response HeadersAge 1205 |
Same problem. |
I have the same issue in my project https://github.com/mkopylec/charon-spring-boot-starter |
Same problem, waited over 12 hours coverage badge still not updated |
Hitting this in PouchDB as well: https://coveralls.io/github/pouchdb/pouchdb |
Same issue for my repo (https://github.com/jazzycamel/pushy). Badge currently say 0% when I have 98% coverage! |
Just happened to me in the last day or two, badge shows 88% but coverage is at 100%. https://github.com/airstruck/knife @jazzycamel looks like yours is working now, did you do anything to fix it? |
Github caches images. Can someone from coveralls make sure coverall sets all response headers correctly per github/markup#224, probably along the whole response redirections? |
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. |
On my project https://github.com/dkubb/ice_nine I have a coveralls badge and it shows 55%, yet when I click through and look at the stats they all show 100%.
I double checked using curl to see if it was some kind of browser cache issue, and this is what I got:
As you can see requests for this badge are incorrectly redirected to the 55% badge.
Is there some kind of caching problem on your end that has the coverage amount "stuck" at 55%? Or is there something else I can do on my end to display the correct badge amount?
The text was updated successfully, but these errors were encountered: