[llvm] [CI] Make CI Jobs Upload Failures to Premerge Advisor (PR #163276)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 14 14:39:37 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD .ci/premerge_advisor_upload.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- premerge_advisor_upload.py 2025-10-14 21:37:41.000000 +0000
+++ premerge_advisor_upload.py 2025-10-14 21:39:05.260185 +0000
@@ -8,11 +8,13 @@
import requests
import generate_test_report_lib
-PREMERGE_ADVISOR_URL = "http://premerge-advisor.premerge-advisor.svc.cluster.local:5000/upload"
+PREMERGE_ADVISOR_URL = (
+ "http://premerge-advisor.premerge-advisor.svc.cluster.local:5000/upload"
+)
def main(commit_sha, workflow_run_number, build_log_files):
junit_objects, ninja_logs = generate_test_report_lib.load_info_from_files(
build_log_files
``````````
</details>
https://github.com/llvm/llvm-project/pull/163276
More information about the llvm-commits
mailing list