Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
-- same as test_time_per_file query except for the first select
WITH good_periodic_sha AS (
SELECT job.head_sha AS sha
SELECT
w.head_sha AS sha
FROM
default.workflow_job job
JOIN default.push ON job.head_sha = push.head_commit.'id'
default .workflow_run w
WHERE
job.workflow_name = 'periodic'
AND job.head_branch LIKE 'main'
AND job.repository_full_name = 'pytorch/pytorch'
GROUP BY
job.head_sha,
push.head_commit.'timestamp'
HAVING
groupBitAnd(
job.conclusion = 'success'
AND job.conclusion IS NOT null
) = 1
w.name = 'periodic'
AND w.head_branch = 'main'
AND w.repository. 'full_name' = 'pytorch/pytorch'
and w.conclusion = 'success'
and w.run_attempt = 1
ORDER BY
push.head_commit.'timestamp' DESC
w.head_commit. 'timestamp' DESC
LIMIT
3
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
-- same as test_time_per_file query except for the first select
WITH good_periodic_sha AS (
SELECT job.head_sha AS sha
SELECT
w.head_sha AS sha
FROM
default.workflow_job job
JOIN default.push ON job.head_sha = push.head_commit.'id'
default .workflow_run w
WHERE
job.workflow_name = 'periodic'
AND job.head_branch LIKE 'main'
AND job.repository_full_name = 'pytorch/pytorch'
GROUP BY
job.head_sha,
push.head_commit.'timestamp'
HAVING
groupBitAnd(
job.conclusion = 'success'
AND job.conclusion IS NOT null
) = 1
w.name = 'periodic'
AND w.head_branch = 'main'
AND w.repository. 'full_name' = 'pytorch/pytorch'
and w.conclusion = 'success'
and w.run_attempt = 1
ORDER BY
push.head_commit.'timestamp' DESC
w.head_commit. 'timestamp' DESC
LIMIT
3
),
Expand Down