mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-23 20:25:56 +00:00
fix(notifications): classify webhook HTTP retries canonically
This commit is contained in:
@@ -105,6 +105,11 @@ Enhanced webhook test/live delivery must follow that same ownership model:
|
||||
into the canonical webhook render and transport path instead of maintaining a
|
||||
parallel URL-rendering, enrichment, Telegram URL sanitization, or single-send
|
||||
HTTP stack.
|
||||
That same ownership includes webhook retry classification. The canonical
|
||||
retry gate in `webhook_enhanced.go` must parse provider failures from both
|
||||
`status 429`-style and `HTTP 429`-style error strings before it decides
|
||||
whether to retry, so a non-retryable `HTTP 400` result cannot be retried just
|
||||
because the transport changed its error wording.
|
||||
|
||||
`internal/api/notifications.go` and
|
||||
`frontend-modern/src/api/notifications.ts` are shared boundaries with
|
||||
|
||||
Reference in New Issue
Block a user