google/triage-party

FR: Integrate github webhook events

gsquared94 opened this issue · 1 comments

Problem:

  • Currently it seems that the app only does periodic data refreshes. This sometimes gets bottlenecked by Github throttling API requests. As such the dashboard is often left with stale data and needs manual refreshes.

Proposal1:

  • Do a one time load of data and instead of periodic refreshes, rely on different webhook events to patch corresponding data object so that it always maintains a realtime mirror of the repo data.

Proposal2:

  • Rely on different webhook events to maintain a list of data objects that need refresh and periodically only refresh those selected object ids.

This would be a great feature and performance boost, but one which can't replace the existing mechanism, as it requires that folks run Triage Party in a way that is accessible from GitHub's servers.

I suspect most (~90%+) folks would benefit from the webhook events though.