GitHub Integration - #292
Conversation
servant-github-webhook treats the event type and payload type as different -- mandating dynamic dispatch in the handler. Additionally, it is unmaintained, lacks aeson 2.0 support and uses cryptonite (public archived)
|
@srid This PR has now reached alpha stage. I have generated a quick documentation with Claude Opus 4.6 here: https://github.com/juspay/vira/blob/dcc9a2fc7ae4bfb542909de70c6ccfa06be8fef8/docs/github-integration.md, for you to try it out, while I refactor before making the PR ready for review. |
|
FYI: I have been testing using a dummy GitHub App in shivaraj-bh/services-flake#20 (See check with label “Vira CI”) |
|
Had to do this in order to get new vira.hs format. |
|
@srid During the initial review over openspatial, you mentioned that an automated way of using the likes of https://smee.io for production would be nice. There are three ways to go about this:
I prefer the third option, what do you think? |
|
I'm not a fan of polling, but let's leave this outside of the scope for this PR, and discuss it in a new issue. For now, I'll use smee for this PR. |
resolves #37
Summary by Claude Opus 4.6:
This PR adds GitHub App integration to Vira, enabling:
servant-github-webhook-simplepackage for type-safe webhook handlingPullPage)