1.0 KiB
1.0 KiB
@gsxdsm/fusion
| @gsxdsm/fusion |
|---|
| patch |
Replace GitHub badge polling with GitHub App webhook ingestion
- Added
POST /api/github/webhooksendpoint for verified GitHub App webhook delivery - Webhook signature verification using
X-Hub-Signature-256header - Support for
pull_request,issues, andissue_comment(on PRs) events - GitHub App installation token authentication for canonical badge fetches
- Multi-task resource matching by parsed badge URL (supports cross-repo badges)
- Idempotent freshness updates without duplicate websocket broadcasts
- Retained 5-minute REST refresh endpoints as fallback path
- Removed live
/api/wsdependency onGitHubPollingServicelifecycle
Configuration:
KB_GITHUB_APP_ID- GitHub App IDKB_GITHUB_APP_PRIVATE_KEYorKB_GITHUB_APP_PRIVATE_KEY_PATH- PEM private keyKB_GITHUB_WEBHOOK_SECRET- Webhook secret for signature verification
Required GitHub App Permissions:
- Metadata: Read
- Pull requests: Read
- Issues: Read
Webhook Events: pull_request, issues, issue_comment