LucasRoesler commented on issue #52040:
URL: https://github.com/apache/airflow/issues/52040#issuecomment-3416153518

   I believe I have experienced the same issue, currently using Airflow 3.0.6 
with versioned DAG Bundles
   
   The DAG level callbacks never execute and the only information is this in 
the DAG Processor.
   
   ```
   --- Supervised process Last chance exception handler ---
   Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/supervisor.py",
 line 387, in _fork_main
       target()
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/dag_processing/processor.py",
 line 172, in _parse_file_entrypoint
       result = _parse_file(msg, log)
                ^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/dag_processing/processor.py",
 line 188, in _parse_file
       _execute_callbacks(bag, msg.callback_requests, log)
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/dag_processing/processor.py",
 line 230, in _execute_callbacks
       _execute_dag_callbacks(dagbag, request, log)
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/dag_processing/processor.py",
 line 236, in _execute_dag_callbacks
       dag = dagbag.dags[request.dag_id]
             ~~~~~~~~~~~^^^^^^^^^^^^^^^^
   KeyError: 'email_alert_test_dag'
   ```


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