You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "RNHTTR (via GitHub)" <gi...@apache.org> on 2024/09/03 15:37:51 UTC

[I] DagBag import timeout errors not propagating to Airflow UI [airflow]

RNHTTR opened a new issue, #41979:
URL: https://github.com/apache/airflow/issues/41979

   ### Apache Airflow version
   
   2.10.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When top-level DAG code causes a DagBag import timeout error, this will fail silently (from a DAG author's perspective -- it will fail in the DAG processor logs).
   
   ### What you think should happen instead?
   
   An error banner should be shown in the Airflow UI.
   
   ### How to reproduce
   
   ```python
   from datetime import datetime
   from airflow.decorators import dag, task
   from time import sleep
   
   @dag(start_date=datetime(2023, 1, 1), max_active_runs=3, schedule=None, catchup=False)
   def bad_practices_dag_1():
   
       sleep(40)
   
       @task
       def do_something():
           print(f"The meaning of life, the universe, and everything is... 42.")
   
       do_something()
   
   bad_practices_dag_1()
   ```
   
   ### Operating System
   
   n/a
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

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


Re: [I] DagBag import timeout errors not propagating to Airflow UI [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #41979: DagBag import timeout errors not propagating to Airflow UI
URL: https://github.com/apache/airflow/issues/41979


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


Re: [I] DagBag import timeout errors not propagating to Airflow UI [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #41979:
URL: https://github.com/apache/airflow/issues/41979#issuecomment-2327026973

   Closing as duplicate 


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


Re: [I] DagBag import timeout errors not propagating to Airflow UI [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #41979:
URL: https://github.com/apache/airflow/issues/41979#issuecomment-2327026545

   Duplicate of https://github.com/apache/airflow/issues/41976


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