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

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   I have 2 DAG in different files.
   
   Parent 
   ```
   with DAG(
       dag_id="parent_dag_id",
       default_args=default_args,
       description="PARENT DAG",
       start_date=datetime(2025, 1, 1),
       schedule_interval="@hourly",
       catchup=False,
   ) as dag:
       trigger_child = TriggerDagRunOperator(
           task_id="trigger_child",
           trigger_dag_id="child_dag_id",
           reset_dag_run=True,
           wait_for_completion=True,
       )
   
     trigger_child
   ```
   
   Child
   ```
   def call_func():
     print("Hello")
   
   with DAG(
       dag_id="child_dag_id",
       default_args=default_args,
       description="CHILD DAG",
       start_date=datetime(2025, 1, 1),
       catchup=False,
   ) as dag:
     task = PythonOperator(
           task_id="call_function",
           python_callable=call_func,
       )
     
     task
   ```
   
   Everytime I trigger parent_dag, it will trigger the child_dag also, but the 
child_dag will stuck in queue
   
   
![Image](https://github.com/user-attachments/assets/faad3cf0-5775-4baa-94f0-9aa264477cd4)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Trigger parent_dag_id
   
   ### Operating System
   
   MacOS and Ubuntu 24.04
   
   ### 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: commits-unsubscr...@airflow.apache.org.apache.org

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

Reply via email to