Commit c5b77a4
authored
Sync filter_forced_merge_pr with the newer weekly_force_merge_stats query (#4484)
This query is used by fetchHud to get the force merge status of the pull
requests so that they can be highlighted on HUD. Specifically, force
merges with failures are highlighted with a darker shade of orange while
regular force merges due to impatience are marked with yellow. The logic
needs to be in sync with the source of truth
[weekly_force_merge_stats](https://github.com/pytorch/test-infra/blob/main/torchci/rockset/commons/__sql/weekly_force_merge_stats.sql)
query and uses the recently added `ignore_current_checks` field for
`merge -i`
### Testing
I proof check all force merges on the first page of
https://torchci-git-fork-huydhn-fix-hud-force-merge-76a8e4-fbopensource.vercel.app
and compare them with https://hud.pytorch.org1 parent 78fb6e1 commit c5b77a4
File tree
2 files changed
+13
-3
lines changed- torchci/rockset
- commons/__sql
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments