mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
A ReportBatchItemFailures response with an empty, null or unknown itemIdentifier, an entry without itemIdentifier, a non-array batchItemFailures, or invalid JSON deleted every delivered message, so a broken handler response silently dropped messages instead of retrying them and letting the RedrivePolicy move them to the DLQ. AWS treats each of these as a complete batch failure; only empty/null lists and empty/null responses are a complete success. Validate the response against the received message IDs before any delete and route malformed responses through the existing return-to-queue path. An id naming a filtered-out message stays inert as before. Fixes #3152