mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-23 07:53:36 +00:00
An alert that resolved while its firing notification was still in the grouping window or waiting in the persistent queue (alert delay pushes activation close to resolution; quiet-hours replay defers delivery) produced a recovery-only notification: CancelAlert dropped the queued firing, but LastNotified had been set optimistically at dispatch, so the resolved-notification gate believed the firing had been sent. CancelAlert now reports whether it cancelled a firing notification that had not been delivered (grouping window entries and pending queue rows; mid-send rows are excluded because their delivery may still complete), and handleAlertResolved suppresses the recovery in that case. This also covers the quiet-hours replay bypass: a recovery only follows a deferred firing if the replay was actually delivered. Addresses #1553 |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| email_enhanced.go | ||
| email_enhanced_test.go | ||
| email_legacy_coverage_test.go | ||
| email_providers.go | ||
| email_template.go | ||
| email_template_test.go | ||
| httptest_ipv4_test.go | ||
| notification_utils_test.go | ||
| notifications.go | ||
| notifications_additional_test.go | ||
| notifications_resolved_apprise_test.go | ||
| notifications_security_cli_test.go | ||
| notifications_security_http_test.go | ||
| notifications_test.go | ||
| provider_client_isolation_test.go | ||
| queue.go | ||
| queue_observability_test.go | ||
| queue_queryplan_test.go | ||
| queue_test.go | ||
| security_utils_test.go | ||
| templates_test.go | ||
| webhook_allowlist_test.go | ||
| webhook_client_test.go | ||
| webhook_enhanced.go | ||
| webhook_enhanced_test.go | ||
| webhook_retry_test.go | ||
| webhook_security_test.go | ||
| webhook_signing_test.go | ||
| webhook_templates.go | ||
| webhook_tenant_identity_test.go | ||