mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix(lambda): honor MaximumRetryAttempts and DestinationConfig.OnFailure for DynamoDB Streams ESM (#3263) * test(lambda): pin the OnFailure payload's arrival timestamps to epoch seconds Seeds a known approximateCreationDateTime and asserts the exact approximateArrivalOfFirstRecord/LastRecord timestamps, using a value 46+ years away from its millis interpretation so a seconds/millis mix-up cannot accidentally pass. The prior tests only asserted the fields were present, which stayed green even with the epoch-millis bug fixed in the previous commit's Instant.ofEpochSecond conversion. * fix(lambda): track retries and trigger OnFailure when batch does not clear under ReportBatchItemFailures * fix(lambda): carry retry count across partial batch failures in DynamoDB Streams ESM