Shopify / shipit-engine

Deployment coordination
https://shopify.engineering/introducing-shipit
MIT License
1.41k stars 144 forks source link

Make RefreshCheckRunsJob and RefreshStatusesJob enqueue one of themselves per commit #1341

Closed kwboyd-shopify closed 4 months ago

kwboyd-shopify commented 4 months ago

We noticed that RefreshCheckRunsJob and RefreshStatusesJob both could end up being long running if there are a lot of statuses to refresh and GitHub is slow. This changes both of these jobs to re-enqueue itself once per each of the stack's last 30 commits if passed in a stack as an argument.