You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/09/16 01:31:58 UTC

[GitHub] [airflow] jaketf opened a new pull request #10969: [WIP] sketch import error alert emails

jaketf opened a new pull request #10969:
URL: https://github.com/apache/airflow/pull/10969


   This PR is a conversation piece that came from pondering how to support import error alert emails in #10968.
   This is a feature will be especially useful for admins who use `ClusterPolicyViolation` or those who have pesky folks that push bad DAGs cluttering the UI with notifications that should be triaged to the on-call w/o human intervention.
   
   I believe that the `import_errors` is a sad place in the airflow codebase and now might be the time to refactor this.
   I've left TODO comments with questions about how to best keep track of import_error emails we have sent (as to not spam the recipients with emails every scheduler loop).
   
   It seems to me we can either keep history of import errors in the existing table or create a new table (e.g. `import_error_history` which has a bool field for email_sent) for this purpose.
   
   cc: @mik-laj 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] stale[bot] closed pull request #10969: [WIP] sketch import error alert emails

Posted by GitBox <gi...@apache.org>.
stale[bot] closed pull request #10969:
URL: https://github.com/apache/airflow/pull/10969


   


----------------------------------------------------------------
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:
users@infra.apache.org