You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idempotency utility should only cache the results from the persistence layer if the retrieved record passes payload tampering validation.
Current Behaviour
The results from the persistence layer are always written to the cache, even if it later fails tampering validation. This should be the other way around.
Expected Behaviour
The idempotency utility should only cache the results from the persistence layer if the retrieved record passes payload tampering validation.
Current Behaviour
The results from the persistence layer are always written to the cache, even if it later fails tampering validation. This should be the other way around.
Code snippet
Possible Solution
Change the logic
Steps to Reproduce
powertools-lambda-python/aws_lambda_powertools/utilities/idempotency/persistence/base.py
Lines 386 to 388 in 8ed384d
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.12
Packaging format used
PyPi
Debugging logs
No response
The text was updated successfully, but these errors were encountered: