mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 01:43:02 -05:00
A DynamoDB Streams mapping created with StartingPosition LATEST is now pinned after the stream's newest record at creation, so only later writes are delivered. Previously every mapping without a checkpoint started from TRIM_HORIZON. The poll worker now re-reads the stored mapping after its fetch and skips the batch when the mapping was deleted or disabled meanwhile. An invocation still running when the mapping is deleted completes, but its result is dropped: no retry state, no OnFailure destination send, and no checkpoint write that would re-insert the mapping into the store. This also covers a state reset racing an in-flight poll. Refs #4311