Commit Graph

261 Commits

Author SHA1 Message Date
rcourtman
964388cedf Reserve both loopback addresses for notification fallback tests
Allocate the healthy loopback listener first, then reserve the stalled address at the same port. Retry only EADDRINUSE during paired reservation and retain both sockets for the test lifetime. This removes the cross-address allocation race without replacing the real dial path or replaying HTTP requests.

Contract-Neutral: Linux-only test fixture allocation changes. Production notification delivery, HTTP fallback semantics, permission boundaries and subsystem contracts remain unchanged.
2026-11-03 10:14:57 +00:00
rcourtman
7904e5fcc9 Keep plain notification errors readable in the delivery log
The delivery log runs every error through the webhook URL redactor. When
the text held no http(s) URL, the redactor parsed the whole message as a
single URL. Queue errors start with prose like `process queued apprise
notification "...": ...`, and a colon before the first slash is not a
valid relative URL, so every Apprise CLI, SMTP and other URL-free failure
reached the UI as "[invalid webhook URL]".

A Pro user whose image lacked the apprise binary saw exactly that: the
delivery warning fired, but the log row pointed at a URL problem instead
of "executable file not found in PATH".

Text without an http(s) URL now has only its URL-shaped words (those
containing "/" or "?") parsed and redacted. A malformed one still fails
closed, and path and query credentials in schemeless words are still
masked.

Contract-Neutral: bug fix; URL-free delivery-log error prose is no longer parsed as one URL, and the documented redaction and fail-closed rules are unchanged
2026-11-02 22:10:43 +00:00
pulse-triage[bot]
8ea1030306 Keep replay receivers alive until their owned senders stop
The final matrix completed both process journeys but its allowed-policy leaf hit the ten-second fixture watchdog; a subsequent request was refused during receiver-first teardown. Retain that failure without assigning its timing cause. Close fixture receivers after notifier/child cleanup, and bound asynchronous completion by the configured HTTP timeout plus queue discovery instead of an unrelated short helper. Do not change runtime deadlines, retry budgets, safety verdicts or the no-early-send assertions.

Change-source: pulse-maintainer
2026-11-01 03:40:48 +00:00
pulse-triage[bot]
5119c7dc85 Bind restart fixtures to actual queue links and generic payloads
The executed matrix found three fixture assumptions: unlinked legacy snapshots cannot retain a derived destination ID, sent status precedes audit, and generic grouped firing JSON has no event field. Use real operational-link snapshots for routing, the audited completion wait already added, and the unchanged grouped/source/warning payload contract. Preserve all original failures rather than adding a wire field or changing delivery policy.

Change-source: pulse-maintainer
2026-11-01 03:24:32 +00:00
pulse-triage[bot]
08d82a2d08 Keep SIGTERM process proof on Unix platforms
The registered process helper deliberately verifies Unix signal handling. Exclude it from Windows test builds rather than assuming os.Process.Signal is supported there; portable queue and monitor reload regressions still run everywhere.

Change-source: pulse-maintainer
2026-11-01 03:18:05 +00:00
pulse-triage[bot]
96ca840e77 Wait for delivery audits as well as sent status in checkpoint proof
Queue completion writes status before its audit. Require both actual durable results before retaining browser snapshots or checking replay outcomes, rather than racing a provider acceptance against its evidence write. Runtime behaviour and safety assertions are unchanged.

Change-source: pulse-maintainer
2026-11-01 03:17:31 +00:00
pulse-triage[bot]
ce083df1df Pass restored alert snapshots to process recovery callbacks
The first source proof stopped at compilation: GetActiveAlerts returns values, whereas occurrence cancellation and recovery accept pointers. Correct only the native fixture and retain that failed attempt as build evidence; it executed no selected tests.

Change-source: pulse-maintainer
2026-11-01 03:12:47 +00:00
pulse-triage[bot]
5b987d2ede Cover checkpoint routing and current replay policy
Check channel, exact tag and severity selection and run preserved batches through the ordinary sender after resolution, global pause, destination disable/removal and a newly active quiet-hours policy. Compare persisted webhook settings with their existing ingress normalization, not the pre-normalized fixture.

Change-source: pulse-maintainer
2026-11-01 03:11:22 +00:00
pulse-triage[bot]
f6c32ed5ad Checkpoint buffered firing groups across graceful restarts
Keep accepted warnings as delayed queue batches when stopping, preserving the first grouping deadline and later quiet-hours hold without immediate sends. Serialize the buffer handoff with resolution and operator policy, and retain ordinary destination snapshots, cancellation, retries and delivery receipts. Exercise actual warning production, SIGTERM process restart, manager reload and matching recovery through scoped loopback receivers.

Fixes #3671

Change-source: pulse-maintainer
2026-11-01 03:07:09 +00:00
rcourtman
5d11f80d7d fix(notifications): preserve queued work through restart
Keep delivery permission and SQLite available until queue workers,
admitted writes and direct fallback sends finish. Leave unclaimed rows
pending so restart and reload retain delivery work and firing receipts.

Restore shared webhook policy before persistent work is activated, including
tenant queues. Reject unreadable policy before queue creation and preserve
deployment URL locks when restoring saved installation settings.

Cover admission, concurrent stops, operator pause, channel disable,
direct fallback, restart recovery and bootstrap policy with persistent tests.
Keep API coverage of later policy replacement and revocation.
2026-11-01 01:43:21 +00:00
pulse-triage[bot]
5c6811f93d Keep deleted webhook work bound to its original destination
Require an enabled saved ID before queued firing or recovery delivery. A sibling at the same URL cannot release a deleted destination’s retained payload and credentials. Keep the URL fallback for legacy ID-less work, preserve admitted snapshots and cancellation history, and prove restart/operator-retry isolation with real receivers.

Change-source: pulse-maintainer
2026-10-24 16:08:19 +01:00
rcourtman
c3fcddf94c sqlite: bound every store's page cache to SQLite's default
Five stores set private page caches of 16 to 64 MB per connection.
The modernc driver allocates that cache with anonymous mmap outside
the Go heap, so GC and GOMEMLIMIT never see it, and each page costs
about twice its size. Measured: reading a 107 MB database through a
64 MB cache_size added 117 MB of resident memory, against 6 MB at
SQLite's 2 MB default. On a long-running dogfood install about 165 MB
of 360 MB resident sat outside the Go heap, with a 126 MB audit
database behind a 64 MB cache (#1803).

Audit, RBAC, notification queue, unified resources and the alert
event log (writer and both readers) now take pdb.PageCachePragma.
Pages that miss it come from the kernel file cache, which the kernel
can reclaim. The audit suite, including its large legacy migration,
takes the same time as before (309 s on both trees).

pkg/db tests reject any other cache_size in production code and bound
the resident growth of a 30 MB scan. Each store's test pins its
effective value. Negative controls: restoring the audit cache fails
the source scan, and a 64 MB reader cache grows a scan by 55 MB
against a 16 MB budget. modernc sorts _pragma values before applying
them, so a second cache_size in one DSN cannot reliably override.

Related to #1803
2026-10-21 14:16:08 +01:00
rcourtman
84050a05e2 Fix notification failure diagnosis and response completion
Connection closes and invalid local jobs entered the unknown failure bucket,
and disconnects during SMTP authentication could stop transient retries.
Use structural network evidence and declared configuration verdicts while
preserving unconfirmed SMTP acceptance as unknown.

Propagate interrupted HTTP Apprise responses through the shared bounded
response reader so they cannot create successful queue receipts. Share ntfy
template rendering and withhold private template and payload diagnostics.

Describe retained terminal failures as retries stopped, since a permanent
verdict can stop the first attempt before the budget is exhausted.
2026-10-18 15:03:26 +01:00
rcourtman
960b5771ec Fix SMTP LOGIN compatibility and authentication negotiation
Literal LOGIN prompt matching rejected valid credentials and substring AUTH
selection could choose an unadvertised mechanism. Use exchange order and
complete mechanism names, preserve server reply classes, and classify
unsupported mechanism lists as configuration failures.

Share the implicit TLS decision between connection tests and delivery so a
port-465 test does not attempt STARTTLS inside an established TLS session.
Add real SMTP controls and persisted queue verdict verification.
2026-10-18 11:35:57 +01:00
rcourtman
3c103f1263 Fix pinned notification connectivity and cancelled DNS lookups
Serial pinned-address dialing could spend the request deadline on a stalled
first address while a validated fallback was healthy. Share one bounded
two-worker dialer with restricted HTTP clients and retain cancellation in
webhook DNS admission and dialing.

Add real stalled-TCP and DNS cancellation controls, persistent queue verdict
readback, shared transport ownership and explicit proof routing.
2026-10-18 08:49:56 +01:00
rcourtman
a598e2a19c Report resolved SMTP authentication in delivery logs
Provider-default usernames could leave hasAuth=false in SMTP diagnostics even
though the delivery manager required authentication. Report the resolved
manager state at the SMTP attempt and remove the premature admission-level
credential inference.

Refresh synthetic SMTP, persistent queue and race evidence for the final source.

Contract-Neutral: Diagnostic-only follow-up: report resolved SMTP hasAuth state. Existing real SMTP, persisted queue and race controls were rerun and retained.
2026-10-17 23:54:29 +01:00
rcourtman
bec3a10019 Fix SMTP provider authentication and isolate delivery envelopes
Supported provider defaults could pass validation without enabling SMTP
authentication, and preparing concurrent sends could overwrite another
delivery's sender and recipients. Resolve credentials when the SMTP manager
is created and keep each delivery's configuration independent while sharing
the existing rate-limit state.

Verify real SMTP acceptance, invalid-credential dead letters, persisted
queue outcomes after restart, concurrent envelopes and shared rate limits.
2026-10-17 23:36:33 +01:00
rcourtman
c4189614d8 Make scheduled report delivery visible and recoverable
Persist delivery attempts and outcomes so temporary mail failures survive
restart without losing their retry or reporting window. Stop automatic resend
when SMTP acceptance is uncertain, and show actionable delivery checks and
manual recovery in Reports. Keep current pricing, gates and customer grants.
2026-10-17 10:51:59 +01:00
rcourtman
9fb704e0e8 Check embedded IPv4 destinations in the webhook SSRF guard
The notification webhook client refuses private and special-use
addresses at dial time, but it matched each address exactly as given.
An IPv6 transition address carries an IPv4 destination inside it, so
64:ff9b::a9fe:a9fe looked like a public address while a NAT64 gateway
delivered it to 169.254.169.254. The audit webhook and the shared
restricted client already decode these forms through
pkg/securityutil.EmbeddedIPv4Candidates; the notification guard had its
own range check and did not.

isPrivateIP now also judges every IPv4 destination embedded in NAT64,
6to4, Teredo, IPv4-compatible and ISATAP addresses, so URL validation
and the dial-time guard both refuse them.

Contract-Neutral: Closes an address-decoding gap in the existing webhook private-address guard; no new configuration or API surface.
2026-10-17 00:16:58 +01:00
rcourtman
c40051c809 Link alert notifications to the alert in Pulse
Alert emails had no link into Pulse at all, and the built-in webhook
templates' "View in Pulse" (several labelled "View in Proxmox") opened
Pulse's front page, so whoever followed a notification had to find the
alert again by hand.

With a public URL configured, notifications now link to the alert: one
alert opens Alert History narrowed to it (/alerts/history?alert=<id>,
the landing added in the previous change), a grouped notification opens
the Alerts overview while firing and Alert History once resolved, and a
Patrol finding (a synthetic alert History never stores), alone or in a batch of
findings, opens Patrol.
Single emails end with "View this alert in Pulse", grouped emails link
each alert, Apprise and resolved text add a per-alert link, the eight
built-in webhook templates link {{.AlertURL}} and say "View in Pulse",
and default JSON payloads add alertUrl. {{.Instance}} keeps its meaning,
so custom templates are unchanged, and without a public URL everything
reads as before.
2026-10-15 16:22:00 +01:00
pulse-triage[bot]
9188d0f442 Keep capped foreign redirects private and terminal
Check the receiver origin before the unchanged redirect-count limit. Otherwise a same-origin chain that reaches the limit can attach a foreign receiver-controlled Location to a generic retryable error instead of the safe configuration refusal. Cover that branch through direct, enhanced-retry and HTTP Apprise senders; preserve all same-origin limits and scheduling.

Change-source: pulse-maintainer
2026-10-09 23:28:42 +01:00
pulse-triage[bot]
aa16ee1d5a Check recovery grouping at its actual admission boundary
Retained full-suite evidence delivered the first recovery after its saved deadline, while the test treated all deliveries observed after emitting fifteen recoveries as early. Measure the receiver time against the first admitted occurrence, preserve the single-group requirement for a burst that fits the unchanged one-second window, and cover late arrivals without sliding that window. Keep ordinary receipt, restart, metadata, suppression, and rate-limit checks; do not change production scheduling.

Change-source: pulse-maintainer
Contract-Neutral: Only correct and strengthen recovery grouping verification; no production grouping, notification, data or access contract changes.
2026-10-09 23:02:09 +01:00
pulse-triage[bot]
7ee035cb6f Keep notification redirects on their configured origin
Do not forward private alert bodies, custom authentication headers or signed requests to a different SSRF-permitted receiver. Keep same-origin redirects and existing TLS/DNS admission, return safe final-URL guidance, and preserve terminal failure and occurrence receipts through both retry layers.

Change-source: pulse-maintainer
2026-10-09 22:33:45 +01:00
pulse-triage[bot]
398eb58938 Keep invalid webhook retry hints out of diagnostic logs
The connected response audit found one remaining receiver-text sink: malformed Retry-After values were copied verbatim into Debug logs. Keep the fixed fallback diagnostic and bounded parsed durations, without retaining invalid header prose. Two regression cases reproduce the leak on the preceding candidate and preserve retry and terminal status behaviour.

Change-source: pulse-maintainer
2026-10-09 11:18:28 +01:00
pulse-triage[bot]
301bfffeee Withhold webhook receiver text from notification diagnostics
Receivers can echo tokens, alert content or private provider data in a response or body-read error. Ordinary, enhanced and ntfy recovery senders now retain structured HTTP verdicts and bounded byte counts without retaining or formatting that text. Test keeps its existing response shape with an explicit withheld-body summary.

Preserve authoritative failure classes, retry hints, wrapped read causes, occurrence/payload identity, request credentials and the existing 1 MiB read cap. Regression controls reproduce disclosure on the parent and cover the real senders, retry history, interrupted replies, cleanup and bounded summaries. No historical diagnostic rewrite or native provider acceptance is claimed.

Change-source: pulse-maintainer
2026-10-09 11:12:42 +01:00
pulse-triage[bot]
b0dc796ffb Explain notification pause, cancellation and in-flight limits
Distinguish global cancellation from quiet-hours holds, queued policy skips from provider receipt, and settings changes from recall or credential revocation. Add connected sender and persistent-queue controls, and run the existing notification guidance suites in docs-only CI.

Contract-Neutral: Documentation, mirrors, tests and documentation-only CI describe existing notification behaviour; no runtime, API, permission, schema, dependency or user-visible feature contract changes.
Change-source: pulse-maintainer
2026-10-08 08:46:03 +01:00
pulse-triage[bot]
53e1bff13c Clarify combined destination severity and tag routing
Correct the empty-filter delivery claim and explain non-exclusive minimum severity, exact all/any tag matching and per-member grouped routing. Bind the existing help and copied examples to the real saved settings and ordinary delivery job builder, without changing routing behaviour.

Contract-Neutral: Documentation and verification only; existing notification routing, alert policy, runtime and API contracts are unchanged.
Change-source: pulse-maintainer
2026-10-07 06:55:39 +01:00
pulse-triage[bot]
d82dde586c Integrate reviewed email identity and silent-source History repair
Retain the reviewed Core candidate exactly, including its contributor provenance repair and same-tree proof attribution.

Change-source: pulse-maintainer
2026-10-07 05:29:27 +01:00
pulse-triage[bot]
50173e6a59 Repair email identity and compose silent-source History
Preserve the exact source tree validated at 5989d928108acf80dc38b99cef40935fe17e6e32 while repairing the rejected isolated candidate's integration provenance. Apply rcourtman's original PR2628 proposal daa44ab26c alongside the bounded host-identifiable email repair and current-policy fixture corrections. Original contributor history remains untouched; this new commit records the maintainer's source integration, not a contributor identity change or a new runtime change.

Original-Proposal: daa44ab26c
Change-source: pulse-maintainer
2026-10-07 05:18:52 +01:00
pulse-triage[bot]
b0f7a63181 Keep copied webhook close outcomes distinct from recovery
The sender already carries moved_to_agent reasons, but the public PSA template discarded them and described every resolved occurrence as recovered. Preserve each member's reason and successor, explain mixed and unknown outcomes, and exercise copied templates through the real sender plus the shipped Markdown renderer.

Contract-Neutral: Existing webhook help and copied-template regression coverage only; no runtime, endpoint, schema or delivery policy change.
Change-source: pulse-maintainer
2026-10-07 04:02:18 +01:00
pulse-triage[bot]
46447dbac6 Preserve reviewed monitoring repairs with published alert lifecycle fixes
Incorporate the exact current upstream additively while retaining eff676c746 and every accepted commit. PR2576 remains unchanged pending its already-owned connected dashboard fixture repair and aggregate validation; composition alone is not a passing proof or release claim.

Change-source: pulse-maintainer
2026-10-06 19:08:06 +01:00
rcourtman
a89c08a59e Drop recovery colours and check marks from moved alert closes
A second review found the moved-alert text was honest but the visuals
still said recovered: Discord kept its green embed, both Teams cards
kept recovery green, Mattermost led with a check emoji, and a grouped
ntfy batch holding a moved alert kept the green check tag. A check mark
on a phone is read before the sentence under it.

Resolved webhook data now carries NotRecovered when any close in the
delivery was not a recovery. The built-in templates switch to neutral
colours and an arrow when it is set, and ntfy uses the arrow tag for a
single alert or a batch. Titles still say Resolved, which stays true
for the closed alert, and ordinary recoveries keep their green.

The render tests now use an isolated data directory, stop their
managers, and hand the captured request over a channel, so they no
longer touch a shared queue or race on the captured body.
2026-10-06 16:17:57 +01:00
rcourtman
123821b02a Carry a typed reason when an alert closes without recovering
When a Pulse agent is linked to a Proxmox node, the node releases its
CPU, memory and disk alerts to the agent, and any node alert still open
closes. The close has to reach integrations so a PagerDuty or webhook
incident opened from the node alert does not stay open forever, but it
went out as a recovery: "pve1 on pve1 is now healthy" for a node still
at 95% memory, with synthesized "recovery projection" evidence behind
it. #1682 is the same complaint from another trigger: a close announced
as "now healthy" when nothing recovered.

A resolved alert can now carry an AlertResolution saying why it closed.
The first reason is moved_to_agent, with the agent's alert resource ID
and name. releaseCanonicalMetricAlert, the disabled-threshold release
pulled out of evaluateCanonicalMetricAlert, takes the resolution, and
clearAlertWithResolution stamps a copy on the alert before it resolves.
It rides the Alert JSON into the resolved callback, the delivery queue,
the history row and the event log. The synthesized closing evidence and
the resolve transition say what happened instead of claiming a recovery
projection.

Notifications still send the close and change only the words: "Memory
alert moved to pve1 (Host Agent). This is not a recovery: check the
agent for the current reading." for webhook messages, a MOVED title
without the green check on ntfy, and "Pulse alert moved" on email and
Apprise. A nil resolution, which every caller passes today, leaves
ordinary recoveries and the disabled-threshold path unchanged. The node
release adopts the reason once the host-agent node link records which
metrics the agent evaluates.
2026-10-06 15:08:43 +01:00
pulse-triage[bot]
b992e97ce2 Integrate launch-time upstream with combined table browser proof
Preserve exact 1896f1f2ba history. Resolve the webhook overlap by retaining the reviewed strict update restoration for unknown or ambiguous masks and upstream masked responses plus create/test restoration. Preserve both test groups; align response assertions with masked output and test clearing separately from the retained unknown-mask rejection cases.

Contract-Neutral: Conflict resolution preserves per-key webhook edits, persistence-before-publication, strict uncertain-mask rejection and response confidentiality; no route or feature is added.
Change-source: pulse-maintainer
2026-10-06 09:51:34 +01:00
rcourtman
f279dc0b07 Resolve masked webhook values per key and keep responses masked
The webhook editor sends back the ***REDACTED*** values the list returns
for every header, custom field and signing secret the user did not
retype. Three paths mishandled them:

- Update restored the whole saved header or custom-field map whenever any
  value was masked, silently dropping a header or field added in the same
  edit.
- Update echoed the restored saved custom fields, so a Pushover token and
  user key came back in the response even though the list masks them, in
  breach of the api-contracts webhook response clause. Create echoed the
  request, and could store a masked value verbatim.
- The editor's Test button posts the form, so testing an edit after a
  reload sent the literal mask as the token or header.

Resolve each masked value to the saved value of the same key on update and
on a form test that carries a saved webhook's id, keep values typed in the
same request, and drop masks with no saved value. Build list, create and
update responses from one masked shape. Normalization now drops blank
headers, so clearing a header removes it instead of sending an empty
Content-Type that generic receivers cannot parse.
2026-10-06 09:21:41 +01:00
pulse-triage[bot]
d4edcd9ce6 Match webhook guide fixtures to existing numeric rounding
The first exact-parent recipe correctly exposed unsafe copied alert strings but also failed a Unicode fixture because the real sender rounds numeric values to one decimal. Retain that failure, expect the existing rounded values explicitly and leave production behaviour and the verified documentation unchanged.

Contract-Neutral: Test expectation repair for existing sender rounding; no runtime, template or delivery contract delta.
Change-source: pulse-maintainer
2026-10-06 05:58:18 +01:00
pulse-triage[bot]
28b0b11837 Make the copied webhook payload escape alert text
The first custom-template example contradicted its own jsonString guidance. Quotes, backslashes, line breaks or JSON member syntax in real alert text could reject the request or alter its payload although a simple test message worked. Escape both string fields, preserve the numeric value and direct structured group consumers to the existing PSA example. Exercise the actual copied template through signed firing and recovery deliveries and the shipped document renderer.

Contract-Neutral: Documentation and tests describe the existing JSON template helper and sender behaviour; no notification runtime or delivery contract changes.
Change-source: pulse-maintainer
2026-10-06 05:44:39 +01:00
pulse-triage[bot]
aae30e2baa Explain safe recovery of retained notification failures
A destination edit and a passing Test do not update the settings stored in an old queued delivery. Make the existing recovery help distinguish those paths, explain the passive Telegram header check, and keep the shipped guides in sync. Connect a real rejected HTTP delivery through edit, Test, restart, retained retry and new alert, including current disable, removal and pause controls.

Contract-Neutral: Documents and verifies existing destination-snapshot and retry semantics; no runtime, API, schema or delivery-policy change.
Change-source: pulse-maintainer
2026-10-06 01:30:57 +01:00
rcourtman
06cdaa577a Send built-in webhook template headers on real alerts
A Telegram webhook passed Test while every real alert was rejected with
"message text is empty" (#2540). The Test path always overlaid the
service template's headers, but real deliveries sent the stored header
copy that the UI seeded at creation. An edit can leave that copy blank,
masked or replaced. Telegram reads arguments from a body only when it is
labelled as JSON or form data, and checks text before chat_id, so a JSON
body without a JSON Content-Type produces exactly that error.

When a built-in service renders its own body (no custom template), the
template's static headers describe that body. Apply them on every real
firing and recovery through prepareWebhookDeliveryContext, replace stored
values under any spelling of the name, and route the Test path through
the same helper so Test predicts real delivery. Custom templates and
generic webhooks keep their stored headers.
2026-10-05 22:46:47 +01:00
pulse-triage[bot]
d500b4f211 Reconcile delivery failures after releasing alert gates
Commit the normal retry/dead-letter attempt audit before invoking monitoring health reconciliation outside the firing-alert delivery gate. Keep explicit operator actions immediate, transient retry budgets, configuration refusal, policy cancellation and operational links unchanged.

Change-source: pulse-maintainer
2026-10-05 06:40:53 +01:00
pulse-triage[bot]
94a14c78c7 Keep webhook bridge guidance from discarding later alerts
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
2026-10-04 08:16:23 +01:00
pulse-triage[bot]
3a98883de1 Preserve notification verdicts through SMTP cleanup and ntfy diagnostics
Stop resending mail after the final DATA acceptance solely because QUIT failed. Keep interrupted ntfy recovery rejections authoritative in the retry decision and audit. Preserve missing acceptance, TLS checks, retry budgets and explicit operator recovery; verify all SMTP transports and persistent queue/audit readback with synthetic local receivers.

Change-source: pulse-maintainer
2026-10-03 12:09:42 +01:00
pulse-triage[bot]
ac995ef565 Keep pending notification groups occurrence-qualified
Coalesce repeated firing callbacks before delivery into the newest complete occurrence snapshot, retaining distinct and unknown identities and the original grouping deadline. Discard the transient index on cancellation, flush, disable and stop; cancel abandoned firing timers before queue shutdown. Verify ordering, concurrency, routing, persistent restart and actual loopback firing/recovery delivery without changing escalation or retry policy.

Change-source: pulse-maintainer
2026-10-03 03:10:14 +01:00
pulse-triage[bot]
661d7c7b2e Activate paired firing work in the receipt-ordering fixture
The queue discovers one concurrent batch at a time; the first HTTP control incorrectly expected another batch to start while the held response was unfinished. Admit both snapshots through the deferred bootstrap owner and then use normal queue activation. Preserve the runtime policy and timeout, and verify each received message explicitly.

Change-source: pulse-maintainer
2026-10-03 02:35:18 +01:00
pulse-triage[bot]
0dcd592ef2 Keep notification cooldowns ordered by alert occurrence
A late provider completion must retain its own firing receipt without replacing a newer occurrence’s repeat-delivery cooldown. Preserve the latest completion and highest delivered severity within one occurrence, keeping genuine new occurrences and severity increases eligible. Exercise reverse HTTP completion, duplicate admission and durable recovery receipts alongside legacy ordering controls.

Change-source: pulse-maintainer
2026-10-03 02:28:48 +01:00
pulse-triage[bot]
2c57a54ec4 Preserve sending-row crash recovery in the occurrence fixture
Assert surviving row status before restart, then expect the existing sending-to-pending crash recovery after reopening the queue. The initial source-dtamnmrn fixture failure is retained; runtime source and delivery policy are unchanged.

Change-source: pulse-maintainer
2026-10-03 01:20:39 +01:00
pulse-triage[bot]
8f42497b8f Keep delayed alert recovery scoped to its resolved occurrence
Capture the resolved alert before asynchronous callbacks and carry its start/end identity through monitor recovery. Cancel only that occurrence in grouping, cooldown and persistent firing rows, retaining newer incidents, operational links, destination receipts and failed attempts. Keep the explicit identifier-wide cancellation API and legacy callback IDs. Add snapshot, restart and connected queue-to-HTTP regression controls.

Change-source: pulse-maintainer
2026-10-03 01:16:42 +01:00
pulse-triage[bot]
6ab5383412 Let the Apprise confidentiality fixture use one queue dispatcher
SetProcessor already wakes the autonomous queue worker. Observe its committed attempt audit without launching a competing manual batch, keeping all lifecycle, retry-budget, config, failure-class and confidentiality assertions. Report changed lifecycle fields without printing credentials.

Change-source: pulse-maintainer
2026-10-02 21:19:29 +01:00
pulse-triage[bot]
2e331d594d Correct Apprise confidentiality queue and API fixtures
Handle nullable retry-row diagnostics while checking the actual attempt audit and DLQ error; verify omitted stored API keys through the established redacted response type and preserve authorised endpoint/target round-trips. Retain the original diagnostic repair and its adverse proof.

Change-source: pulse-maintainer
2026-10-02 10:17:49 +01:00
pulse-triage[bot]
1ce98f2693 Keep Apprise credentials and private payloads out of diagnostics
Suppress raw CLI targets/output, HTTP response bodies and credential-bearing endpoint paths across firing, recovery, tests, queue audits and settings logs. Preserve exact delivery inputs, typed causes and retry classification; retain structured status, counts and safe validation reasons.

Contract-Neutral: Shared agent-lifecycle and storage-recovery references are unchanged; this diagnostic repair alters no agent or storage behaviour, API schema, destination admission or delivery policy.
Change-source: pulse-maintainer
2026-10-02 03:34:36 +01:00