Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance: Release version 1.5.0 #396

Closed
1 task done
hjgraca opened this issue Aug 29, 2023 · 0 comments
Closed
1 task done

Maintenance: Release version 1.5.0 #396

hjgraca opened this issue Aug 29, 2023 · 0 comments
Labels
internal Maintenance changes

Comments

@hjgraca
Copy link
Contributor

hjgraca commented Aug 29, 2023

Summary

feat: Idempotency calculate remaining invocation available time as part of the idempotency record

Why is this needed?

In the current implementation of Idempotency we don't have the InProgressExpiration timestamp. So currently if a lambda invocation expired there would be no way to retry it, when using the Idempotent attribute in the lambda handler or Idempotent attribute on another method

This field is required to prevent against extended failed retries when a Lambda function times out, Powertools for AWS Lambda (.NET) calculates and includes the remaining invocation available time as part of the idempotency record.

If a second invocation happens after this timestamp, and the record is marked as INPROGRESS, we will execute the invocation again as if it was in the EXPIRED state (e.g, expire_seconds field elapsed).

This means that if an invocation expired during execution, it will be quickly executed again on the next retry.

Which area does this relate to?

Idempotency

Solution

No response

Acknowledgment

@hjgraca hjgraca added internal Maintenance changes triage Pending triage from maintainers labels Aug 29, 2023
@hjgraca hjgraca removed the triage Pending triage from maintainers label Aug 29, 2023
@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Aug 29, 2023
@hjgraca hjgraca closed this as completed Sep 1, 2023
@hjgraca hjgraca removed the pending-release Fix or implementation already in dev waiting to be released label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Maintenance changes
Projects
Status: No status
Development

No branches or pull requests

1 participant