Build status badge should show success but shows failure:
Not sure what is wrong, tried using master branch badge as well.
Build status badge should show success but shows failure:
Not sure what is wrong, tried using master branch badge as well.
@tbrock It’s an issue with GitHub. GitHub caches images for a certain period hence your badge will show an old status until the cache expires.
Thanks for the reply @estahn. I’m not sure why that would be cached at all, is there any way to force a refresh or prevent this from happening? It’s not very useful if it’s cached.
@estahn I’m not sure you are correct about the caching. CircleCI’s own page that shows the build status badge preview also renders the build as failed:
https://circleci.com/gh/HustleInc/git-cactus/edit#badges
Produces a link to this image:
https://circleci.com/gh/HustleInc/git-cactus/tree/master.svg?style=svg
Something is wrong here and it’s not github’s caching mechanism.
Hi @estahn,
This issue is also happening on my repo. After 13 days, the badge continues to show a failing status on both github and docker hub
I’m having the same issue… it’s a private github repo, but exact same behavior as described above.
Possible duplicate of this thread.
I’m facing the same issue here with a private github repo.
It’s not related to github’s cache as the issue persists when I access the badge directly on circleci servers (also tried with a new API key and adding an extra cache-buster query string parameter).
It’s occurring on a project with a workflow that successfully passes each stage, but the badge is always red.
I’m having the same issue as well. The statuses in Github and Circle are correct, but the image returned by Circle is showing a failure.
The CircleCI image: https://circleci.com/gh/Lullabot/media_mpx/tree/8.x-1.x.svg?style=svg
The branch showing all passed jobs: https://circleci.com/gh/Lullabot/media_mpx/tree/8.x-1.x
I have the same issue with my repo: https://circleci.com/gh/pkspks/ts-object-builder
Badge shows red even though the build status is green. https://circleci.com/gh/pkspks/ts-object-builder.svg?style=svg
Same issue.
Build/Workflow is passing: https://circleci.com/gh/asmith60/node-hapi-typescript-template
Status badge shows “Failed”: https://circleci.com/gh/asmith60/node-hapi-typescript-template.svg?style=svg
Same issue here. Bumping this thread
I think I have the same issue. My build at CircleCI is showing all green but the badge embedded in GitHub at https://github.com/gregorwolf/SITregParticipant and also the image https://circleci.com/gh/gregorwolf/SITregParticipant/tree/master.svg?style=svg&circle-token=f0554090baf6beca3ce140d156f2ff5514a04812 show only failed.
I too have this same issue.
I have the same problem with one of my repositories.
https://github.com/robojones/z1
On all my other repositories it’s working fine.
Hey everyone.
I believe will deployed a fix for this. Can anyone confirm if status badges are now correct for your projects?
This is still broken for me. I also tried a rebuild in case anything was being cached and it still shows as failed even after the successful rebuild.
Can you link to a build here, or DM me it if you’d like to keep th URL private, so that I may take a look?
@FelicianoTech DM’d