Document existing notification delivery contracts in ALERTING.md and
WEBHOOKS.md (outbound HTTP_PROXY/HTTPS_PROXY bypass for DNS-pinned SSRF
protection on alert webhooks and Apprise HTTP, 30s/10s webhook timeouts,
10/min per-URL webhook rate limiting, Apprise 5-120s timeout bounds and
CLI flag stripping, SMTP 60/min default rate limit, AUTH LOGIN fallback,
RFC 5322 incident email threading, and the 2,048-character external
watchdog URL cap), and align ALERTING.md, ADAPTIVE_POLLING.md, and
ADAPTIVE_POLLING_ROLLOUT.md with #5399 retired poll slot release without
successor planning. Add source-bound documentation verification tests.
Contract-Neutral: Documentation and documentation-test alignment with existing shipped monitoring and notification runtime contracts; no runtime behavior, API schema, or UI state changes.
Change-source: pulse-maintainer
Update docs/WEBHOOKS.md, docs/UNIFIED_AGENT.md, docs/AUTO_UPDATE.md, and
their mirrored in-app Help copies under frontend-modern/public/docs/ to
close three verified runtime-vs-Help gaps:
- Document the built-in Mattermost webhook service, {{.ResolvedAt}} and
{{.ResolvedAtISO}} template fields, Pushover optional priority/sound/device
custom fields, and built-in ntfy Title/Priority/Tags headers and
Authorization auth in docs/WEBHOOKS.md.
- Document seven shipped pulse-agent CLI flags and environment variables
(--command-authority, --enable-live-logs, --docker-compose-sources,
--deploy-ssh-user, --log-file, --release-identity, and --validate-url)
in docs/UNIFIED_AGENT.md.
- Document switching a licensed Community server to the Pulse Pro runtime
from Settings -> System -> Plans & Billing (GET /api/updates/pro-runtime
and POST /api/updates/pro-runtime/apply, in-place systemd/LXC switching,
Docker digest-pinned image commands, and typed refusal reasons) in
docs/AUTO_UPDATE.md.
- Bind these updates to live Go and frontend source in
scripts/tests/test_webhook_verification_docs.py,
scripts/tests/test_agent_docs.py, and
scripts/tests/test_update_recovery_docs.py.
Contract-Neutral: Documentation, mirrored in-app Help, and documentation consistency tests only; no runtime, API, polling, alert, telemetry, or UI code contract changes.
Change-source: pulse-maintainer
Fix an off-by-one statement in docs/WEBHOOKS.md (and its mirror/test): CheckRedirect blocks when len(via) >= WebhookMaxRedirects (3), so alert webhooks follow at most 2 same-origin redirects across 3 requests and stop on a third redirect. Also clarify in docs/ALERTING.md (and its mirror/test) that non-retryable and >24h failures are not automatically re-queued and successful Test sends do not trigger recovery.
Contract-Neutral: Documentation accuracy correction and matching doc-test updates only; no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
Document landed notification usability and security behaviors in the
in-app Alerting and Webhooks Help guides and their shipped mirrors:
- Email branding & subject under Show advanced options (Subject prefix,
Brand name, Footer note, normalization, HTML escaping, and continuity
fingerprint preservation from #4868).
- Destination-bound saved notification credentials for SMTP, Apprise,
and webhooks, blank SMTP host refusal, same-origin webhook redirects
(up to 3), and alert-derived webhook header control-byte encoding and
2,048-byte SHA-256 truncation from #5081.
- Automatic recovery replay of recent retryable retained failures across
queued email, webhook, and Apprise destinations from #4859 and #4992.
- Source-bound tests covering these contracts in
scripts/tests/test_alerting_outage_help_docs.py and
scripts/tests/test_webhook_verification_docs.py.
Contract-Neutral: Documentation and source-bound documentation tests only; no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
Keep canonical guidance aligned with the actual unchanged header and copied member-aware templates. Pin the correction in the same safety guard so a later maintainer does not restore permanent header-only deduplication.
Contract-Neutral: Documentation clarification and its verification only; webhook wire format, retry stability and runtime behaviour are unchanged.
Change-source: pulse-maintainer
Normalise Markdown emphasis in the safety guard and observe optional runtime imports instead of requiring an auth call on every browser reload. Assert no other backend activity and preserve all console errors.
Contract-Neutral: Validation fixtures only; product and notification behaviour are unchanged.
Change-source: pulse-maintainer
The legacy correlation header omits occurrence start, severity and group members. Show receivers the existing full-precision member data, preserve later incidents and severity updates, and test the copyable templates through the actual signed sender. Keep the freshness verifier and runtime wire format unchanged.
Contract-Neutral: Help, executable examples, tests and sender comments only; notification behaviour, schemas and webhook headers are unchanged.
Change-source: pulse-maintainer
Reject stale or malformed signed requests and empty keys in the existing receiver example. Explain authenticated payload deduplication and unsigned correlation headers, and exercise the exact copied code with adverse and healthy controls.
Contract-Neutral: Documentation and its executable safety checks only; the outbound signing format, transport, endpoints and runtime are unchanged.
Change-source: pulse-maintainer