Skip to content

Conversation

@amCap1712
Copy link
Member

Add webhooks infrastructure to let *Brainz projects subscribe to events like user creation, verification, and deletion etc. The implementation includes reliable delivery logic, rate limits and circuit breaker for fault tolerance. The webhook_delivery table provides a complete audit trail of all webhooks delivered, failed or pending. celery is used for background task processing.

To verify that the authenticity of the payloads, the webhook recipient should generate the HMAC-SHA256 signature of the payload with the key generated at time of webhook creation and compare it with the value of X-MetaBrainz-Signature-256 header.

Add webhooks infrastructure to let *Brainz projects subscribe to events like user
creation, verification, and deletion etc. The implementation includes reliable
delivery logic, rate limits and circuit breaker for fault tolerance. The
`webhook_delivery` table provides a complete audit trail of all webhooks delivered,
failed or pending. celery is used for background task processing.

To verify that the authenticity of the payloads, the webhook recipient should generate
the HMAC-SHA256 signature of the payload with the key generated at time of webhook
creation and compare it with the value of `X-MetaBrainz-Signature-256` header.
@github-actions
Copy link

github-actions bot commented Oct 26, 2025

Test Results

276 tests  +40   271 ✅ +40   1m 10s ⏱️ +22s
  1 suites ± 0     5 💤 ± 0 
  1 files   ± 0     0 ❌ ± 0 

Results for commit 69d0c62. ± Comparison against base commit da8e04c.

♻️ This comment has been updated with latest results.

@amCap1712 amCap1712 requested a review from mayhem November 4, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants