about summary refs log tree commit diff
path: root/ops/gerrit-tvl/static/tvl.js
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-14T20·26+0300
committerclbot <clbot@tvl.fyi>2022-01-14T20·30+0000
commita5c9b11a6bd1388dfc52b06f1b957a7f9cc654ef (patch)
tree8e29cd252c40bbda9556e4e5d5506b3bdfe322f8 /ops/gerrit-tvl/static/tvl.js
parent86a205220fdc0e3789f8f42eb30e93115777a0b0 (diff)
fix(gerrit-tvl): Exclude non-command jobs from check results r/3597
Change-Id: I13727d30ac7a568f02614a4bbc778afed6a286ba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4891
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops/gerrit-tvl/static/tvl.js')
-rw-r--r--ops/gerrit-tvl/static/tvl.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/gerrit-tvl/static/tvl.js b/ops/gerrit-tvl/static/tvl.js
index 7019624b59d4..b1ce3eda3abb 100644
--- a/ops/gerrit-tvl/static/tvl.js
+++ b/ops/gerrit-tvl/static/tvl.js
@@ -111,6 +111,11 @@ const tvlChecksProvider = {
       const build = respJSON[i];
 
       for (let job of build.jobs) {
+        // Skip non-command jobs (e.g. waiting/grouping jobs)
+        if (job.type !== 'script') {
+          continue;
+        }
+
         // TODO(lukegb): add the ability to retry these
         const checkRun = {
           patchset: parseInt(build.env.GERRIT_PATCHSET, 10),