Skip to content

WIP: Enable successful pipeline emails only with custom level

Make successful pipeline a special case for notifying

Problems

  • People don't want to receive any successful pipeline notifications, even if they're the pusher.

Current status

  • Watchers do not receive successful pipeline notifications.
  • People with custom notification with successful pipeline notifications on would receive them. For all pipelines regardless who is the pusher.
  • People receive their own successful pipeline notifications if they're the pusher. No way to turn this off for now.

Proposed solution

  • Make it that the only way to receive successful pipeline notifications would be using custom level, turning successful pipeline notifications on. Also, only send it if they're the pusher. Disregard pipelines from other people.

Concern

After this patch, it could be confusing that:

  • The only way to enable successful pipeline emails would be using custom notification with successful pipeline notifications on, which would notify the pusher (who triggered) only, not other people's pipelines at all.
  • However, for failed one, enabling that one would mean subscribing to other people's pipelines. For pushers' pipelines, there's still no way to disable it.
  • The rules would be quite inconsistent and could be quite confusing and hard to understand!

New proposal

In order to receive successful pipeline emails, you could only:

  • Switch to custom notification with successful pipelines on

And in order to receive failed pipeline emails, you could:

  • Switch to participating or watching
  • Switch to custom notification with failed pipelines on

All of the emails would only send to who triggered the pipelines, only.

Closes #24845 (closed)

Merge request reports