# Rolling builds shouldn't report failure

**URL:** <https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238>\
**Category:** Released\
**Created:** [May 31, 2018, 12:55pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238 "2018-05-31T12:55:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [May 31, 2018, 12:55pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/1 "2018-05-31T12:55:36Z")

</div>

## Description of the feature request

Rolling builds are reporting failure on GitHub commits that are skipped. Skipped builds shouldn’t be reported. Failure is different from not running a build.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/f/faad89048f88e89a9fd665367db82ab94f40d308.png)

`https://github.com/instructure/canvas-lms/commits/master`

## Use case / for what or how I would use it

I would use it to accurately view the build status from GitHub.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [June 5, 2018, 3:45pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/2 "2018-06-05T15:45:49Z")

</div>

Hi,

Unfortunately it’s not possible to “un-report” status if the build is already started - if you reported a status for the commit. Once a status is reported on github you can’t delete that status.

So we either report a finished status (error/success) or the commit status will get “stuck” in “in-progress”.

---

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [June 5, 2018, 4:16pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/3 "2018-06-05T16:16:15Z")

</div>

Github has no skipped status? ☹

It’d be nice to disable reporting entirely then.

---

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [June 7, 2018, 3:57pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/4 "2018-06-07T15:57:57Z")

</div>

Fixed by going into the Team tab and setting the **Service credential User** to none.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [June 19, 2018, 4:11pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/5 "2018-06-19T16:11:29Z")

</div>

That’s indeed a solution, although that means no status reporting at all, as well as no other features which require the Bitrise \<-\> GitHub connection like monorepo filtering or auto registering webhooks.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [June 19, 2018, 4:13pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/6 "2018-06-19T16:13:23Z")

</div>

Checking the screenshot you shared again I see it’s for the `master` branch, not for PRs list.

If you’re concerned about commit build statuses (not PR list statuses) then a solution might be to disable Rolling Builds for pushes, but keep it enabled for PR builds. Would that work?

---

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [June 19, 2018, 6:00pm UTC](https://discuss.bitrise.io/t/rolling-builds-shouldnt-report-failure/5238/7 "2018-06-19T18:00:23Z")

</div>

In this case the build job is building a Docker image that takes 40m+. We only ever want to build the latest commit. As a result, rolling builds is necessary. If rolling builds were disabled then all the capacity would be spent building commits that are not needed.

It’d be nice if rolling builds integrated better with GitHub. Red Xs on each commit isn’t ideal. For now disabling the service user works.
