Build status badge showing incorrect status

2.0
#1

Build status badge should show success but shows failure:

Not sure what is wrong, tried using master branch badge as well.

3 Likes

Status badge status incorrect
#2

@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.

0 Likes

#3

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.

0 Likes

#4

@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.

0 Likes

#5

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

0 Likes

#6

I’m having the same issue… it’s a private github repo, but exact same behavior as described above.

0 Likes

#7

Possible duplicate of this thread.

0 Likes

#8

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.

0 Likes

#9

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

0 Likes

#10

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

0 Likes

#11

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

0 Likes

#12

Same issue here. Bumping this thread

0 Likes

#13

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.

0 Likes

#14

I too have this same issue.

0 Likes

#15

Hi,

I’m facing the same issue (I guess)

0 Likes

#16

I have the same problem with one of my repositories.
https://github.com/robojones/z1

On all my other repositories it’s working fine.

0 Likes

#17

Hey everyone.

I believe will deployed a fix for this. Can anyone confirm if status badges are now correct for your projects?

0 Likes

#18

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.

0 Likes

#19

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?

0 Likes

#20

@FelicianoTech DM’d

0 Likes