uranusjr commented on a change in pull request #16167:
URL: https://github.com/apache/airflow/pull/16167#discussion_r643965004



##########
File path: airflow/models/taskinstance.py
##########
@@ -864,12 +864,14 @@ def are_dependencies_met(self, dep_context=None, 
session=None, verbose=False):
         for dep_status in 
self.get_failed_dep_statuses(dep_context=dep_context, session=session):
             failed = True
 
-            verbose_aware_logger(
-                "Dependencies not met for %s, dependency '%s' FAILED: %s",
-                self,
-                dep_status.dep_name,
-                dep_status.reason,
-            )
+            if self.state != State.RUNNING:
+                # Only log about dependencies for non-running tasks.
+                verbose_aware_logger(
+                    "Dependencies not met for %s, dependency '%s' FAILED: %s",
+                    self,
+                    dep_status.dep_name,
+                    dep_status.reason,
+                )

Review comment:
       Maybe something like `Dependencies not met: task is still running`? This 
would indicate to the user why the task is not able to be run (so they know 
they should wait).




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

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


Reply via email to