powertools-lambda-typescript icon indicating copy to clipboard operation
powertools-lambda-typescript copied to clipboard

Maintenance: Add E2E tests for Idempotency utility to verify behaviour with durable functions

Open ConnorKirk opened this issue 2 weeks ago • 0 comments

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

Future readers

Please react with 👍 and your use case to help us understand customer demand.

ConnorKirk avatar Dec 03 '25 10:12 ConnorKirk