Commit 487780f
committed
Run pkgcheck after R-CMD-check, and correct the earlier diagnosis
The previous commit claimed the failing "continuous integration" check
would resolve itself once R-CMD-check finished before pkgcheck. That was
wrong, and the run on the merge commit disproved it: R-CMD-check
completed at 20:07:33 and pkgcheck at 20:11:48, yet the check still
failed.
What matters is not when pkgcheck ends but when it queries. pkgcheck()
calls pkgcheck_fill_info(), which performs the API query, before
pkgcheck_fill_goodpractice(), which is the slow rcmdcheck and covr
phase. In that run the goodpractice phase began at 20:06:19, so the
query happened before then, while R-CMD-check was still going.
The query therefore lands roughly five minutes into the run. For
R-CMD-check to be read as successful it would have to finish inside
those five minutes, which it cannot: its fastest single matrix leg is
over six minutes and the run completes only when all five do. So the
check fails on essentially every push, and is neither self-correcting
nor a symptom of R-CMD-check being unusually slow. The April run passed
only because its setup happened to be slow enough that the query landed
after R-CMD-check had finished.
Chain the workflows so the conclusion read is always final. This
serialises the run, about 10 minutes for R-CMD-check then about 15 for
pkgcheck instead of the two overlapping, which is the accepted cost of
a green report.1 parent 61ae620 commit 487780f
1 file changed
Lines changed: 26 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
34 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
0 commit comments