Spackbot should replay webhooks sent during a downtime
alecbcs opened this issue · 0 comments
alecbcs commented
As is, Spackbot is loosing track of PRs when there's a downtime.
Instead we should implement a two phase checkpoint and restore system to "replay" webhooks that were missed by Spackbot.
- Checkpoint the last time that a request was processed to completion/record the request id.
- Upon startup of the app, query GitHub for all webhooks sent after the last recorded request and then ask GitHub to reply each webhook.