[llvm] [CI] Make Premerge Advisor Upload to Both Advisor Instances (PR #165058)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 24 16:48:20 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/165058
So that we do not have to worry about synchronizing data between the two
clusters. This also enables this script to work on AArch64, although
we'll look at enabling that later.
>From 54d56ddb5934bd0a456abd9f43a5a76dff57ee20 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 24 Oct 2025 23:48:09 +0000
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.7
---
.ci/premerge_advisor_upload.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.ci/premerge_advisor_upload.py b/.ci/premerge_advisor_upload.py
index 1fc2423dd24fc..a50c8c4765bef 100644
--- a/.ci/premerge_advisor_upload.py
+++ b/.ci/premerge_advisor_upload.py
@@ -12,9 +12,10 @@
import generate_test_report_lib
-PREMERGE_ADVISOR_URL = (
- "http://premerge-advisor.premerge-advisor.svc.cluster.local:5000/upload"
-)
+PREMERGE_ADVISOR_URLS = [
+ "http://34.82.126.63:5000/upload",
+ "http://136.114.125.23:5000/upload",
+]
def main(commit_sha, workflow_run_number, build_log_files):
@@ -41,7 +42,8 @@ def main(commit_sha, workflow_run_number, build_log_files):
ninja_failures = generate_test_report_lib.find_failure_in_ninja_logs(ninja_logs)
for name, failure_message in ninja_failures:
failure_info["failures"].append({"name": name, "message": failure_message})
- requests.post(PREMERGE_ADVISOR_URL, json=failure_info)
+ for premerge_advisor_url in PREMERGE_ADVISOR_URLS:
+ requests.post(premerge_advisor_url, json=failure_info)
if __name__ == "__main__":
More information about the llvm-commits
mailing list