mobuchowski opened a new pull request, #45305:
URL: https://github.com/apache/airflow/pull/45305

   Without this fix, the callback requests are deserialized as a base class 
`CallbackRequest` and are not executed - they are silently failing through this 
check.
   
   ```
   def _execute_callbacks(
       dagbag: DagBag, callback_requests: list[CallbackRequest], log: 
FilteringBoundLogger
   ) -> None:
       for request in callback_requests:
           log.debug("Processing Callback Request", request=request.to_json())
           if isinstance(request, TaskCallbackRequest):
               raise NotImplementedError(
                   "Haven't coded Task callback yet - 
https://github.com/apache/airflow/issues/44354!";
               )
               # _execute_task_callbacks(dagbag, request)
           elif isinstance(request, DagCallbackRequest):
               _execute_dag_callbacks(dagbag, request, log)
   ```


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