Closed jakirkham closed 7 years ago
Also, seeing this for HHVM badges and MyGet.
Not just the examples. Mine were failing so far but whilst I write this post they appear to be ok.
Maybe is something with the cache of shields
. If there are projects with a lot of movement and they're building very consecutively maybe shields
shows us every time a cached image of an on-going build.
Maybe is something with the cache of shields. If there are projects with a lot of movement and they're building very consecutively maybe shields shows us every time a cached image of an on-going build.
Forget that. I've just seen how it changed from passing
to unaccessible
to passing
again and I'm not currently running any build.
Same for me!
+1
I am frequently getting inaccessible
travis-ci badges. If I refresh my browser two or three times, the badge changes to success
. If I leave and come back, the badge says inaccessible
again. This is in contrast to the badge directly provided by travis-ci which always shows success
.
I have added a log in prod to identify what causes that. The "normal" cause is that travis does not have that repo registered, which does not seem to be the case here. So far no luck.
The problem seemed to start, at least for me, within the past week. For an example repo, see here. If you keep refreshing, the travis-ci badge will randomly alternate between inaccessible
and success
.
Here is what I have: sometimes, Travis CI returns {"file":"not found"}
, sometimes, Retry later
, when downloading their badge. Is that a rate-limiting thing?
Historically, we request badges instead of using the API because the straightforward API queries sometimes produce "pending", which is not a badge people ever want to see, and some other way to use the API to circumvent that had issues when dealing with branches. People wanted our badges to show the same information as the Travis CI badges (with the customizability that we offer).
I have gone full circle, and switched it to only perform a HEAD request, on the SVG headers this time. Let me know if it changes anything.
Seeing a lot of invalid travis badges this morning.
Same here:
Same problem here!
It seems to me that the problem's gone. Is it a weekend's effect, I wonder.
Still seeing the Invalid
Travis badges
Indeed, I have the same problem. Shields.io: (https://img.shields.io/travis/netvl/xml-rs.svg?style=flat-square) Travis: (https://travis-ci.org/netvl/xml-rs.svg?branch=master)
Occasionally the shields badge becomes green but usually it is invalid.
I currently see them better than before the change. It's true that now they appear as "invalid" sometimes but it's less often than when they said "inaccessible".
Also getting a bunch of Invalid
badges across many repos.
+1
If this problem recurs, feel free to open a new issue.
It appears that the repo
joyent/node
on GitHub was moved and renamed. However, Travis CI does not know this. So, changing the URLs for these badges is needed to fix the examples.