Skip to content

[Bug]: Unexpected suspend when a step failed for retry #295

@zhongkechen

Description

@zhongkechen

Expected Behavior

When a step failed for retry and the next attempt time has arrived, the execution should not suspend.

Actual Behavior

The execution was suspended
https://github.com/aws/aws-durable-execution-sdk-java/actions/runs/23769567275/job/69257867274?pr=275

Somehow the background poller for the failed step didn't trigger the next attempt of the step after 10 seconds

Image

Steps to Reproduce

  1. run the lambda function in example module: retry-in-process-example
  2. check the execution history
      "Payload": {
        "ErrorMessage": "Cannot return PENDING status with no pending operations.",
        "ErrorType": "InvalidParameterValueException"
      },

SDK Version

1.0.0

Java Version

17

Is this a regression?

No

Last Working Version

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions