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 over 10 years ago. Updated 8 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 #1

Updated by Tom Clegg over 10 years ago

  • Target version set to Deferred
Actions #2

Updated by Tom Clegg over 10 years ago

  • Subject changed from If enabled by user, notification service sends email to owner when a pipeline instance finishes or fails. to If enabled by user via "preferences" checkbox in Workbench, notification service sends email to owner when a pipeline instance finishes or fails.
Actions #3

Updated by Tom Clegg over 10 years ago

  • Subject changed from If enabled by user via "preferences" checkbox in Workbench, notification service sends email to owner when a pipeline instance finishes or fails. to [?] If enabled by user via "preferences" checkbox in Workbench, notification service sends email to owner when a pipeline instance finishes or fails.
Actions #4

Updated by Tom Clegg over 10 years ago

  • Subject changed from [?] If enabled by user via "preferences" checkbox in Workbench, notification service sends email to owner when a pipeline instance finishes or fails. to [API] If enabled by user via "preferences" checkbox in Workbench, notification service sends email to owner when a pipeline instance finishes or fails.
Actions #5

Updated by Tom Morris over 6 years ago

  • Target version changed from Deferred to To Be Groomed
Actions #6

Updated by Tom Morris over 6 years ago

  • Related to Idea #10798: Notification of job completion added
Actions #7

Updated by Tom Morris over 6 years ago

  • Related to deleted (Idea #10798: Notification of job completion)
Actions #8

Updated by Tom Morris over 6 years ago

  • Has duplicate Idea #10798: Notification of job completion added
Actions #9

Updated by Tom Morris over 6 years ago

  • Target version changed from To Be Groomed to Arvados Future Sprints
Actions #10

Updated by Tom Morris about 6 years ago

  • Target version changed from Arvados Future Sprints to To Be Groomed
  • Story points deleted (2.0)
Actions #11

Updated by Tom Morris about 6 years ago

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

If requested by user preference, notify the user when a workflow completes successfully, fails, or has a job which has failed (ie overall workflow is about to fail).

Actions #12

Updated by Lucas Di Pentima about 6 years ago

  • Description updated (diff)
Actions #13

Updated by Lucas Di Pentima about 6 years ago

  • Description updated (diff)
  • Story points set to 2.0
Actions #14

Updated by Tom Morris about 6 years ago

  • Target version changed from To Be Groomed to Arvados Future Sprints
Actions #15

Updated by Peter Amstutz over 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #16

Updated by Peter Amstutz over 1 year ago

  • Release set to 60
Actions #17

Updated by Peter Amstutz 8 months ago

  • Target version set to Future
Actions #18

Updated by Peter Amstutz 8 months ago

Actions

Also available in: Atom PDF