We ran into this issue where a CircleCI build will complete but it still says “CircleCI is running your tests” on Github. Refreshing the Github page doesn’t help. Rerunning the build will temporarily fix the problem, but eventually the commit’s status will go back to “CircleCI is running your tests.”
This is a particularly disruptive problem because some of our repositories have guards that will block you from merging to master until the CircleCI build passes. If the status is wrong, we can’t merge.
We’re encountering the same disconnect: after CircleCI finishes a build, the status in GitHub is not updated. We don’t have the guards mentioned by the OP, but it’s disruptive nonetheless as it requires context switching to know if the build passed (or failed) prior to merging the PR.
I know that you said this is fixed, but we are still seeing this issue. I just re-ran a build on Circle 2.0 and after the build passed, the GitHub status still is pending.
Me too. I think I figured out why this was occurring on my setup though…
I converted one of my projects to a workflow and was testing the full CI pipeline without branch filtering initially. This resulted in three jobs running (test and build running in parallel, deploy running after both were complete). This worked wonderfully, but when I enabled branch filtering on that still-open PR, only the test job ran and the PR was stuck in this “waiting for CircleCI status” limbo forever. I forcefully merged as an admin though and the merge commit behaved as expected.
I think CircleCI resets all statuses on a PR when it’s rerun, which causes any now-filtered statuses to hang forever in a “stuck” state since those jobs actually don’t run anymore (due to filtering all branches except master, for example.)
Happened to me right now as well, couldn’t merge a bunch of PRs because of that. What me and my team did to circumvent the problem was to add only the workflows’ steps, see http://en.zimagez.com/zimage/arst.php .
But yeah, please fix it since it would’ve been nice to have everything ready without any admin intervention.
This is happening for me now and needs a immediate fix in circle ci 2.0. We have GitHub protected branches so it is causing disruption for us. Please fix this.