Skip to content

Commit 851c0ad

Browse files
authored
[ez][HUD] Filter out more workflow_event trigger jobs from hud query (#6910)
Follow up to #6884, see that one for context
1 parent 26f0013 commit 851c0ad

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

torchci/clickhouse_queries/hud_query/query.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ 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
27+
AND job.workflow_name not in (
28+
'Upload test stats',
29+
'Validate and merge PR',
30+
'Upload torch dynamo performance stats',
31+
'Revert merged PR'
32+
) -- Should be filtered out by the workflow_event filters, but workflow_event takes some time to populate
2833
AND job.workflow_event != 'workflow_run' -- Filter out workflow_run-triggered jobs, which have nothing to do with the SHA
2934
AND job.workflow_event != 'repository_dispatch' -- Filter out repository_dispatch-triggered jobs, which have nothing to do with the SHA
3035
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)