Skip to main content

handle_webhook

Function handle_webhook 

Source
pub async fn handle_webhook(
    __arg0: State<AppState>,
    __arg1: VerifiedWebhookPayload,
) -> ApiResult<impl IntoResponse>
Expand description

Webhook handler for GitHub events

This handler:

  1. Verifies HMAC signature (handled by VerifiedWebhook extractor)
  2. Parses the event payload
  3. Processes pull_request, issue_comment, and pull_request_review events
  4. Returns 200 OK immediately (async LLM processing happens in background)