You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop pending webhook delivery after the endpoint is disabled #15
bugSomething isn't workinghelp wantedExtra attention is neededneeds testingNeeds focused regression or contract verification.priority highCorrectness, delivery reliability or security boundary work to address first.webhooksGeneric and Discord webhooks, event contracts and delivery queues.
Publish checks endpoint.Enabled, but deliver reloads the endpoint without checking Enabled or whether its event is still subscribed. Disabling a webhook does not stop already queued or deferred events.
Evidence / regression scenario
A fake HTTP transport received one request after the endpoint was saved with Enabled=false and ProcessPending was run.
Recheck the current enabled state and subscribed event types immediately before queued/deferred transmission.
Define whether pending deliveries become paused or cancelled; make the status visible and ensure re-enabling does not unexpectedly replay cancelled events.
Test publish -> disable -> process and publish -> remove event subscription -> process with an in-memory HTTP transport.
Keep the explicit user-requested TestEndpoint behavior documented separately from automatic queue delivery.
Scope and dependencies
Difficulty: medium.
No real Discord or generic endpoint calls in tests; preserve owner/platform scope checks.
Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.
bugSomething isn't workinghelp wantedExtra attention is neededneeds testingNeeds focused regression or contract verification.priority highCorrectness, delivery reliability or security boundary work to address first.webhooksGeneric and Discord webhooks, event contracts and delivery queues.
Activity