Wrong badge status reported on GitHub project


#1

The status badge for my project is wrong. It says “failed” which is wrong. It should say “success”. Please take a look below and check out the links which prove my point.

Github project page: https://github.com/rstoenescu/gulp-pipes
CircleCI project page: https://circleci.com/gh/rstoenescu/gulp-pipes


#2

Looks there is a bug on our end. We’ll take a look.


#3

Thanks for the effort!


#4

I believe the issue is you need to add the HTTP header Cache-Control: no-cache

Please see this github issue

Thanks!


#5

@kimh did you ever get a bugfix out for this? I am seeing similar behavior in my project, seems to be related to this issue and Auto-cancel causes status badge to show failure


#6

I’m seeing this behavior still, and suspect its linked to cancelled builds.
Github sees passing status on latest commit:
46%20PM

CircleCI HIstory sees passing status (and older cancellation)

But badge insists its failing:


Status badge status incorrect
#7

Related:


#8

I hate writing “mee too” posts, but I am observing exactly the same as @eddiewebb
My builds are fine, yet the badge generated by CI is showing red FAILED status.


#9

Super excited to share that this issue has been resolved! For folks experiencing the issue related to old build statuses being reported in projects that switching to/from 2.0 workflows, the proper badge should now be displayed!


#10

This topic was automatically closed after 3 hours. New replies are no longer allowed.