raulcd commented on code in PR #13102:
URL: https://github.com/apache/arrow/pull/13102#discussion_r869190573


##########
dev/archery/archery/crossbow/reports.py:
##########
@@ -71,6 +71,11 @@ def tasks_by_state(self):
             tasks_by_state[state][task_name] = task
         return tasks_by_state
 
+    @property
+    def contains_failures(self):
+        return any(self.tasks_by_state[state] for state in (
+            "error", "failure", "pending"))

Review Comment:
   Sounds reasonable to me. I've removed `pending` jobs to be counted as 
failures



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