Closed a-marcel closed 1 year ago
Happy to merge after someone tests it :)
Given @codetheweb approved the PR, @a-marcel can we merge it in?
Would be awesome to do a release with serverless v3 support
Thanks for all the great work @codetheweb & @a-marcel! 🙏🏽
I don't have the permission merge it into the codetheweb repo.
@a-marcel I am hitting a very interesting problem. My starting state loads up and the lambda runs locally but it does not transition to the next state and eventually times out
[Serverless Step Functions Local] 2023-03-31 09:29:19.500: arn:aws:states:us-east-1:101010101010:execution:DataExtractorMachine:02afe082-0c6d-4680-a4fe-9fb5333d60bf : {"Type":"LambdaFunctionFailed","PreviousEventId":4,"LambdaFunctionFailedEventDetails":{"Error":"Lambda.SdkClientException","Cause":"Unable to execute HTTP request: Request did not complete before the request timeout configuration."}}
[Serverless Step Functions Local] 2023-03-31 09:29:19.504: arn:aws:states:us-east-1:101010101010:execution:DataExtractorMachine:02afe082-0c6d-4680-a4fe-9fb5333d60bf : {"Type":"ExecutionFailed","PreviousEventId":5,"ExecutionFailedEventDetails":{"Error":"Lambda.SdkClientException","Cause":"Unable to execute HTTP request: Request did not complete before the request timeout configuration."}}
@a-marcel I am hitting a very interesting problem. My starting state loads up and the lambda runs locally but it does not transition to the next state and eventually times out
[Serverless Step Functions Local] 2023-03-31 09:29:19.500: arn:aws:states:us-east-1:101010101010:execution:DataExtractorMachine:02afe082-0c6d-4680-a4fe-9fb5333d60bf : {"Type":"LambdaFunctionFailed","PreviousEventId":4,"LambdaFunctionFailedEventDetails":{"Error":"Lambda.SdkClientException","Cause":"Unable to execute HTTP request: Request did not complete before the request timeout configuration."}} [Serverless Step Functions Local] 2023-03-31 09:29:19.504: arn:aws:states:us-east-1:101010101010:execution:DataExtractorMachine:02afe082-0c6d-4680-a4fe-9fb5333d60bf : {"Type":"ExecutionFailed","PreviousEventId":5,"ExecutionFailedEventDetails":{"Error":"Lambda.SdkClientException","Cause":"Unable to execute HTTP request: Request did not complete before the request timeout configuration."}}
My pipelines have no issues when I deploy them. But with the plugin, it's stuck at the first state and does not transition to the next one
@walleXD : This plugin only simulates a local environment for your step functions. A working deployment has nothing to do with it.
Not sure exactly what your error message means, but it looks like that you configured a pipeline and one lambda function is not answering in time or at all.
Does the lambda functions work individually ?
The lambdas do work individually when ran locally. I have also deployed the step function into the cloud and it works w/o any issue.
With the local step function setup, the first lambda runs and then it keeps on waiting as the state does not transition to the next one to trigger the next lambda. Eventually it times out
Can you please merge this PR?
Released in v0.5.0.
Thank you very much.
supports serverless framework >= 3.0 (tested with 3.25.1) implement express workflow support
20 - can someone involved in this ticket test this implementation please ?
Thanks