forked from 0xWheatyz/SPARC
Add webhook/notification support for batch job completion and score changes #1303
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
There is no mechanism to notify users or external systems when a batch job completes or when a company innovation score changes significantly.
Work to do
webhookstable to store webhook URLs and event subscriptions per user.Acceptance criteria
References
Roadmap: P3 — Webhook/notification support.
Already resolved.
SPARC/webhooks.pyimplements webhook notifications.notify_job_completed()is called from_run_batch_job()inapi.py.WEBHOOK_URLSenv var documented in.env.example. PR #66 (commita4db943). Closing.