GitHub App webhook handler that fans out work to Redis streams and receives callbacks from workers.
Health check. Returns app and Redis connection status.
Publishes messages to worker streams (worker-1).
- Generates an
id(UUID7) for tracking - Stores full payload in Redis with key
storage:{id}containing:id,name,owner,branch,prId - Sends worker message to each stream with:
id,callback_url - Returns the
idand streams list
Receives completion callbacks from workers.
- Expects:
{ "id": "...", "app_name": "...", "msg": "..." } - Reads storage data from Redis by
id - Logs
name,owner,branchfrom storage along withmsg
GitHub App webhook endpoint. Handles:
pull_request.openedpull_request.synchronize
GitHub Event → API → Redis Streams → Workers → /callback