This repository was archived by the owner on Jul 1, 2024. It is now read-only.
Commit 890fc4b
committed
Fix re-running of queries in pr-info
Previously, I changed it to re-run the query if `mergeable` is `UNKNOWN`
because it sometimes takes a few seconds for the GH api to update this
information. Turns out that this should be done *only* for PRs that are
`OPEN`, in other states (`CLOSED` & `MERGED`) it's *expected* to be
`UNKNOWN`. This broke the removal of project cards for closed/merged
PRs, since it would just spin the 5 retries while getting `UNKNOWN`
every time, eventually treating it as bogus (and also timing out the
gateway).
Should fix #278.1 parent 4dd6f17 commit 890fc4b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments