You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "lxndrslr (via GitHub)" <gi...@apache.org> on 2025/10/07 19:56:48 UTC

[I] Callback getting stuck when calling get_task_states [airflow]

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

   ### Apache Airflow version
   
   3.1.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When trying to call ti.get_task_states from a DAG callback it gets stuck and does not return an error.
   
   [test_task_instances_dag.py.log](https://github.com/user-attachments/files/22752822/test_task_instances_dag.py.log)
   [attempt=1.log](https://github.com/user-attachments/files/22752827/attempt.1.log)
   [test_task_instances_dag.py](https://github.com/user-attachments/files/22752823/test_task_instances_dag.py)
   
   ### What you think should happen instead?
   
   I think it should throw an error if calling the API is not allowed, give an timeout error after some time or return the correct result.
   
   ### How to reproduce
   
   Use the following DAG and check the dag_processor logs. It starts executing but does not throw an error or return the done log. The task logs show how the output should be.
   [test_task_instances_dag.py](https://github.com/user-attachments/files/22752850/test_task_instances_dag.py)
   
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-amazon==9.14.0
   apache-airflow-providers-celery==3.12.3
   apache-airflow-providers-cncf-kubernetes==10.8.1
   apache-airflow-providers-common-compat==1.7.4
   apache-airflow-providers-common-io==1.6.3
   apache-airflow-providers-common-messaging==2.0.0
   apache-airflow-providers-common-sql==1.28.1
   apache-airflow-providers-docker==4.4.3
   apache-airflow-providers-elasticsearch==6.3.3
   apache-airflow-providers-fab==2.4.3
   apache-airflow-providers-ftp==3.13.2
   apache-airflow-providers-git==0.0.8
   apache-airflow-providers-google==18.0.0
   apache-airflow-providers-grpc==3.8.2
   apache-airflow-providers-hashicorp==4.3.2
   apache-airflow-providers-http==5.3.4
   apache-airflow-providers-microsoft-azure==12.7.1
   apache-airflow-providers-mysql==6.3.4
   apache-airflow-providers-odbc==4.10.2
   apache-airflow-providers-openlineage==2.7.1
   apache-airflow-providers-postgres==6.3.0
   apache-airflow-providers-redis==4.3.1
   apache-airflow-providers-sendgrid==4.1.3
   apache-airflow-providers-sftp==5.4.0
   apache-airflow-providers-slack==9.3.0
   apache-airflow-providers-smtp==2.2.1
   apache-airflow-providers-snowflake==6.5.4
   apache-airflow-providers-ssh==4.1.4
   apache-airflow-providers-standard==1.8.0
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   Most recent docker compose file with 3.1
   
   ### 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] Callback getting stuck when calling get_task_states [airflow]

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

   Please paste all the logs above in the description. 


-- 
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] Callback getting stuck when calling get_task_states [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #56465: Callback getting stuck when calling get_task_states
URL: https://github.com/apache/airflow/issues/56465


-- 
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] Callback getting stuck when calling get_task_states [airflow]

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

   Would probably be solved by https://github.com/apache/airflow/issues/44354


-- 
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] Callback getting stuck when calling get_task_states [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #56465:
URL: https://github.com/apache/airflow/issues/56465#issuecomment-3378505416

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


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