uranusjr commented on code in PR #36374:
URL: https://github.com/apache/airflow/pull/36374#discussion_r1435960507


##########
airflow/models/taskinstance.py:
##########
@@ -2361,6 +2361,8 @@ def _run_raw_task(
                     self.log.info(e)
                 if not test_mode:
                     self.refresh_from_db(lock_for_update=True, session=session)
+                
_run_finished_callback(callbacks=self.task.on_skipped_callback, context=context)
+                session.commit()

Review Comment:
   This should not be run in test mode, similar to other callbacks.



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

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

Reply via email to