[llvm] [CI] Send Platform Along with Failure Information (PR #163817)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 16 09:18:05 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-infrastructure
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
To enable disambiguating the platform later when we look at identifying tests failing at HEAD/flaky tests.
---
Full diff: https://github.com/llvm/llvm-project/pull/163817.diff
1 Files Affected:
- (modified) .ci/premerge_advisor_upload.py (+2)
``````````diff
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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/163817
More information about the llvm-commits
mailing list