@kaged/plugin-webhook-notify

System plugin that POSTs the daemon launch URL to a webhook on auth.launchUrlReady with HTTPS enforcement and exponential backoff retry

1
source files
1
test files
484
lines
✓ 18 pass
tests
pass
typecheck
clean
lint

Test results 18

setup validation > webhook-notify > missing webhook_url → throws [0.370ms]
setup validation > webhook-notify > invalid method → throws [0.080ms]
setup validation > webhook-notify > http:// without insecure → throws [0.120ms]
setup validation > webhook-notify > http:// with insecure → loads OK [0.110ms]
setup validation > webhook-notify > body_template without {{url}} → warns but loads [0.130ms]
setup validation > webhook-notify > timeout_ms out of range → clamped [0.080ms]
setup validation > webhook-notify > retry_count out of range → clamped [0.070ms]
hook behavior > webhook-notify > happy path: POSTs launch URL to webhook [0.660ms]
hook behavior > webhook-notify > include_token: false strips token from URL [0.300ms]
hook behavior > webhook-notify > custom body_template applied [0.180ms]
hook behavior > webhook-notify > custom headers merged with defaults [0.170ms]
hook behavior > webhook-notify > PUT method used when configured [0.140ms]
hook behavior > webhook-notify > retries on non-2xx response [0.230ms]
hook behavior > webhook-notify > retries on network error [0.240ms]
hook behavior > webhook-notify > all retries exhausted → error logged, no throw [0.220ms]
hook behavior > webhook-notify > zero retries → single attempt only [0.140ms]
hook behavior > webhook-notify > delay function called between retries [0.180ms]
metadata > webhook-notify > plugin has correct name, version, description [0.030ms]

Mentioned in

Type Document
spec Release pipeline