Project

General

Profile

Actions

Idea #2679

open

[API] If enabled by user via "preferences" checkbox in Workbench, notification service sends email to owner when a workflow finishes, fails, or is failing

Added by Tom Clegg about 10 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
Story points:
2.0
Release:
Release relationship:
Auto

Description

  • Concepts
    • Per-user preference to enable emails notifications:
      • On completion
      • On failure of a child job (avoiding multiple notifications if more than one child fails)
    • Only toplevel jobs should send notifications, so in the case of a "will fail" state, only one is sent.
    • For now, only the project owner will be notified and not any other user that has access to it
    • The email address that will be used to send the notifications to is the one being used for login, and not the one provided on the user's profile
  • Implementation
    • API Server
      • A server setting establishing the default behavior for users that don't have the preference explicitly set
      • A server setting establishing if emails notifications are enabled or not.
      • Add a new mailer like services/api/app/mailers/admin_notifier.rb
      • Add necessary callbacks on containers/pipelines updates to call the mailer when needed
    • Workbench
      • New UI element to show & change user preference on the user’s profile page, under a new "Preferences" section.
    • Documentation updates

Related issues

Related to Arvados Epics - Idea #21569: User notificationsNewActions
Has duplicate Arvados - Feature #3829: [Crunch] Email notification when pipeline finishes, depending on user prefs flagDuplicate09/06/2014Actions
Has duplicate Arvados - Idea #10798: Notification of job completionDuplicate01/03/2017Actions
Actions

Also available in: Atom PDF