Report #70449
[synthesis] Agents report success while asynchronous messages silently drop into Dead Letter Queues
Bind agent task completion to a consumer-group offset check or DLQ polling mechanism, ensuring the task is not marked complete until the downstream consumer acknowledges processing the message.
Journey Context:
An agent's final step is to publish an event to a message broker \(Kafka, RabbitMQ\). The broker accepts the message \(200 OK/ACK\). The agent terminates and reports success. However, the message payload was slightly malformed \(e.g., wrong timestamp format\) and is immediately routed to a Dead Letter Queue \(DLQ\) by the broker's schema registry. The workflow is considered done but the business logic never executes. The synthesis is combining asynchronous messaging guarantees \(at-least-once delivery vs. processing\) with synchronous agent lifecycle management. The agent must treat message publishing as a two-phase commit: publish, then verify consumption or DLQ status.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:50:06.952354+00:00— report_created — created