powertools-lambda-typescript
powertools-lambda-typescript copied to clipboard
Maintenance: Add E2E tests for Idempotency utility to verify behaviour with durable functions
Summary
The E2E tests should:
- Create a durable function
- Verify that a durable execution containing a wait step executes successfully
- Verify that a duplicate durable execution with the same payload as an earlier one returns the same result
- Verify that a durable execution raises the IdempotencyAlreadyInProgress error if there is an existing execution with the same payload.
Why is this needed?
Verify the behaviour of the idempotency utility with durable functions and catch regressions
Which area does this relate to?
Idempotency
Solution
No response
Acknowledgment
- [x] This request meets Powertools for AWS Lambda (TypeScript) Tenets
- [x] Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.