[llvm] [CI] Send Platform Along with Failure Information (PR #163817)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 16 09:17:25 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/163817
To enable disambiguating the platform later when we look at identifying tests failing at HEAD/flaky tests.
>From 0421368f43fc6208432e9f00e59b3b6287c23873 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Thu, 16 Oct 2025 16:16:29 +0000
Subject: [PATCH] [CI] Send Platform Along with Failure Information
To enable disambiguating the platform later when we look at identifying
tests failing at HEAD/flaky tests.
---
.ci/premerge_advisor_upload.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.ci/premerge_advisor_upload.py b/.ci/premerge_advisor_upload.py
index 84214f8a6d7ef..398fe1fa8ce96 100644
--- a/.ci/premerge_advisor_upload.py
+++ b/.ci/premerge_advisor_upload.py
@@ -23,11 +23,13 @@ def main(commit_sha, workflow_run_number, build_log_files):
)
test_failures = generate_test_report_lib.get_failures(junit_objects)
source = "pull_request" if "GITHUB_ACTIONS" in os.environ else "postcommit"
+ current_platform = f"{platform.system()}-{platform.machine()}".lower()
failure_info = {
"source_type": source,
"base_commit_sha": commit_sha,
"source_id": workflow_run_number,
"failures": [],
+ "platform": current_platform
}
if test_failures:
for name, failure_message in test_failures:
More information about the llvm-commits
mailing list