spack/spackbot

Spackbot should replay webhooks sent during a downtime

alecbcs opened this issue · 0 comments

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.

  1. Checkpoint the last time that a request was processed to completion/record the request id.
  2. Upon startup of the app, query GitHub for all webhooks sent after the last recorded request and then ask GitHub to reply each webhook.