[llvm-branch-commits] [CI] Make premerge advisor exit with code 0 if failures are explained (PR #172394)

David Spickett via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 16 02:35:08 PST 2025


================
@@ -158,6 +158,16 @@ def get_failures(junit_objects) -> dict[str, list[tuple[str, str]]]:
     return failures
 
 
+def are_all_failures_explained(
+    failures: list[tuple[str, str]], failure_explanations: dict[str, FailureExplanation]
+) -> bool:
+    for failure in failures:
----------------
DavidSpickett wrote:

You can do the unpacking here on the same line:
```
for failed_action, _ in failures:
```

https://github.com/llvm/llvm-project/pull/172394


More information about the llvm-branch-commits mailing list