Skip to content

Commit e936529

Browse files
authored
[autorever] exclude unstable jobs (#7260)
1 parent 425e3a1 commit e936529

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

aws/lambda/pytorch-auto-revert/pytorch_auto_revert/signal_extraction_datasource.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ def fetch_jobs_for_workflows(
117117
WHERE wf.repository_full_name = {{repo:String}}
118118
AND wf.head_sha IN {{head_shas:Array(String)}}
119119
AND wf.created_at >= {{lookback_time:DateTime}}
120-
AND (wf.name NOT LIKE '%mem_leak_check%' AND wf.name NOT LIKE '%rerun_disabled_tests%')
120+
AND (
121+
wf.name NOT LIKE '%mem_leak_check%'
122+
AND wf.name NOT LIKE '%rerun_disabled_tests%'
123+
AND wf.name NOT LIKE '%unstable%'
124+
)
121125
{workflow_filter}
122126
ORDER BY wf.head_sha, wf.started_at ASC, wf.run_id, wf.run_attempt, wf.name
123127
"""

0 commit comments

Comments
 (0)