[XPU][CI] Fix empty nightly dashboard (#37800)

This commit is contained in:
ashwini rathi
2026-09-07 09:29:51 +08:00
committed by GitHub
parent e0a83a2215
commit 0afba909e7
4 changed files with 164 additions and 92 deletions
+2 -2
View File
@@ -288,10 +288,10 @@ jobs:
with open(snap_path) as f:
snapshot = json.load(f)
# Only look at nightly-test-intel jobs
# Snapshot writer emits `workflow` (filename), not `workflow_path`.
nightly = [
j for j in snapshot.get("jobs", [])
if j.get("workflow_path", "").endswith("nightly-test-intel.yml")
if (j.get("workflow") or "").endswith("nightly-test-intel.yml")
]
# status_summary style counts, per job name