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

   ### Apache Airflow version
   
   3.0.0a1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   While testing the triggerer, my task is stuck in the deferred state.
   
   
   
   ### What you think should happen instead?
   
   Task should resume from deferred mode
   
   ### How to reproduce
   
   1. Try running below DAG in AF3
   ```
   from airflow import DAG
   from airflow.providers.standard.sensors.date_time import DateTimeSensor, 
DateTimeSensorAsync
   from airflow.providers.standard.operators.empty import EmptyOperator
   from pendulum import datetime
   
   
   with DAG(
       dag_id='example_deferrable_dag',
       start_date=datetime(2023, 1, 1),
       catchup=False,
       tags=['example', 'deferrable'],
   ) as dag:
   
       start = EmptyOperator(
           task_id='start'
       )
   
       wait = DateTimeSensorAsync(
           task_id='wait_for_time',
           target_time="""{{ macros.datetime.utcnow() + 
macros.timedelta(minutes=1) }}"""
       )
   
       end = EmptyOperator(
           task_id='end'
       )
   
       start >> wait >> end
   ```
   
   ### Operating System
   
   linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### 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: [email protected]

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

Reply via email to