metra opened a new issue #9939:
URL: https://github.com/apache/airflow/issues/9939


   **Description**
   
   Failing tasks can create a lot of email noise if you have both 
`email_on_failure` and `sla` enabled.
   
   **Use case / motivation**
   
   Outside of working hours, say 6pm through 10am, I can receive 16*2 email 
notifications. Every hour, one email for the failure and one email for the 
missed SLA.
   
   A few ideas:
   
   - Sending both the SLA miss and the failure email feels redundant.  If a 
task is failing then it should be obvious that it's also missing its SLA. 
Perhaps skip the SLA email in this case?
   - The SLA miss emails are threaded because their subject lines are 
equivalent. However, the failure emails include the failure date and time, 
which breaks threading. Consider dropping the time and/or date from the failure 
email?
   
   **Related Issues**
   
   None that I could find.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to