[llvm] [CI] Add queue size, running count metrics (PR #122714)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 00:23:47 PST 2025
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/122714 at github.com>
================
@@ -139,12 +199,25 @@ def upload_metrics(workflow_metrics, metrics_userid, api_key):
metrics_userid: The userid to use for the upload.
api_key: The API key to use for the upload.
"""
+
+ if len(workflow_metrics) == 0:
+ print("No metrics found to upload.", file=sys.stdout)
+ return
----------------
boomanaiden154 wrote:
Makes sense to me.
https://github.com/llvm/llvm-project/pull/122714
More information about the llvm-commits
mailing list