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 2021/09/21 10:04:41 UTC

[GitHub] [airflow] Anurag-Shetty commented on issue #12199: New dag run / task state: disposed

Anurag-Shetty commented on issue #12199:
URL: https://github.com/apache/airflow/issues/12199#issuecomment-923827798


   I was able to  create state called "warning" with below changes.
   1. Created with execption called AirflowWarningException in exceptions.py
   2. Made some changes in utils/state.py(adding new state), models/taskinstance.py, ti_deps/deps/trigger_rule_dep.py.
   3. I raising the exception in my custom bash operator based on type of failure.
   ![image](https://user-images.githubusercontent.com/50450873/134150750-5153228c-82e4-47f9-8dcd-a868a6aba455.png)
   
   
   Let me know your thoughts and any impacts from this approach.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org