Skip to content

finding: a notify flow-run summary reports success/acted:1 while the delivery dead-lettered — the dead-letter is absent from the run summary #7747

Description

@huangyiirene

Symptom

A ['push'] notification probe's flow-run summary reports status:'success', acted:1 while nothing was delivered. The dead-letter is visible in sys_notification_delivery (the push channel is unregistered — status:'dead', error: "channel 'push' not registered") but not in the flow-run summary — so an operator reading the run summary sees a successful action that in fact delivered nothing.

Root cause

Not located by the run. The flow-run summary's acted count (the selected/acted/skipped surfacing added by #4354) treats the notify node as acted on enqueue and does not reconcile against the delivery outcome recorded in sys_notification_delivery, so a dead-lettered delivery is still counted as a successful act. Split from the run's "Notes worth keeping" #6 as a real observability defect (the summary an operator reads disagrees with the durable delivery record). Fix spans the notify-node acted accounting and the delivery-outcome reconciliation (packages/services automation/messaging).

Stale-premise check: present on origin/main (the run summary does not reflect delivery dead-letters).

Reproduction

  1. Boot without the push channel registered.
  2. Fire a flow whose notify node targets ['push'].
  3. Read the flow-run summary, then sys_notification_delivery.

Expected: the run summary reflects the failed/dead-lettered delivery (not acted:1 success). Actual: run summary status:'success', acted:1; sys_notification_delivery shows the delivery dead-lettered.

Source

Extracted from the QA run #7690 (framework 92f26f7, console 09987b680).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions