[llvm] [CI] Rework github workflow processing (PR #130317)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 8 01:09:47 PST 2025


Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/130317 at github.com>


================
@@ -191,25 +196,23 @@ def get_per_workflow_metrics(
 
             # The timestamp associated with the event is expected by Grafana to be
             # in nanoseconds.
-            created_at_ns = int(created_at.timestamp()) * 10**9
+            completed_at_ns = int(completed_at.timestamp()) * 10**9
----------------
boomanaiden154 wrote:

This should be better than what we're doing now, but isn't guaranteed to not try and upload historical information. I think going by the workflow completion time should fix that, but I couldn't a good way to get that out of the workflow, other than just iterating through all the jobs.

https://github.com/llvm/llvm-project/pull/130317


More information about the llvm-commits mailing list