backlog icon indicating copy to clipboard operation
backlog copied to clipboard

As a user I don't want to receive notifications on cancelled builds

Open elifiner opened this issue 6 years ago • 2 comments

I'm currently getting notifications on cancelled CI builds as failed builds. This creates a lot of noise since we have the "Auto-cancel redundant builds" option enabled on CircleCI.

image

Ideally, only builds that actually fail should cause a notification.

elifiner avatar Feb 06 '19 01:02 elifiner

@elifiner Is this using CircleCI workflows (using GitHub's new Checks API) or the classic version?

abinoda avatar Feb 06 '19 02:02 abinoda

For reference, GitHub's new Checks API, which is used by CircleCI 2.0 Workflows, has the possible conclusion statuses success, failure, neutral, cancelled, timed_out, and action_required. We only send notifications for failure statuses.

Older CircleCI configurations not using Workflows use GitHub's commit status API, which has possible statuses error, failure, pending, and success. We send notifications for both error and failure states. We specifically included the error status here because a customer requested it, but I'm having trouble remembering who or why (trying to dig it up).

abinoda avatar Feb 06 '19 02:02 abinoda