Skip to content

Commit e124c82

Browse files
authored
[ez][HUD] Filter out upload test stats in hud query (#6884)
This should get filtered out by the workflow_event filters but sometimes the field is empty, maybe because the job is too new? I'm not sure Each upload test stats job has a different name, based on the job its uploading stats for, so whenever I open the "other" category, which is where these jobs go into, it takes a very long time
1 parent 12bc70b commit e124c82

File tree

1 file changed

+1
-0
lines changed
  • torchci/clickhouse_queries/hud_query

1 file changed

+1
-0
lines changed

torchci/clickhouse_queries/hud_query/query.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ WITH job AS (
2424
WHERE
2525
job.name != 'ciflow_should_run'
2626
AND job.name != 'generate-test-matrix'
27+
and job.workflow_name != 'Upload test stats' -- Should be filtered out by the workflow_event filters, but sometimes workflow_event is empty
2728
AND job.workflow_event != 'workflow_run' -- Filter out workflow_run-triggered jobs, which have nothing to do with the SHA
2829
AND job.workflow_event != 'repository_dispatch' -- Filter out repository_dispatch-triggered jobs, which have nothing to do with the SHA
2930
AND job.id in (select id from materialized_views.workflow_job_by_head_sha where head_sha in {shas: Array(String)})

0 commit comments

Comments
 (0)