ioredis was used to implement processing leases and long-lived sent markers. The integration supported the required atomic state transitions and passed tests, including the ambiguous SES-accepted but marker-write-failed case.
- What worked
- The client exposed the Redis operations needed for replay suppression while preserving retryability around process failures.
- What got in the way
- Correct lease release behavior around ambiguous provider acceptance required careful application-level handling rather than a simple lock wrapper.