JuliaRegistries / RegistryCI.jl

Continuous integration (CI) tools for Julia package registries, including registry consistency testing, automatic merging (automerge) of pull requests, and automatic TagBot triggers
https://juliaregistries.github.io/RegistryCI.jl/stable
Other
31 stars 30 forks source link

TagBot Triggers: when getting the list of all PRs on the General registry, use a bounded retry loop for that step #427

Open DilumAluthge opened 3 years ago

DilumAluthge commented 3 years ago

At the beginning of the TagBot Triggers cron/schedule job, we get the list of all PRs on the General registry. For some reason, the GitHub API will sometimes return a 5xx error, causing the entire job to fail.

Therefore, we should wrap this step only (but not the rest of the job) in a bounded retry loop (with exponential backoff) with a maximum retry limit of e.g. 10.

@christopher-dG Would it be possible for you to take a look at this?