Giter Club home page Giter Club logo

Comments (5)

larry-voicefoundry avatar larry-voicefoundry commented on June 12, 2024 1

I just realized that after changing the TS file I never re-compiled before redeploying. After running the build and pushing again I no longer have any issues and it works great.

Thank you! This is a great tool and I appreciate all the work you have put into it.

from aws-lambda-power-tuning.

alexcasalboni avatar alexcasalboni commented on June 12, 2024

Hi @larry-voicefoundry 👋 thanks for reaching out!

Are you using CDK patterns?

As for #156, I'm aware that the CDK patterns template is referring to an older version of the SAR application. See my open PR here: cdk-patterns/serverless#250

Could you please check which SAR app version are you using in your template?

The latest semantic version is 4.2.0.

Since version 4.0.0, the tool is compatible with the new Lambda state expansion. Basically, the new code wants for every state update to be completed with a proper waiter.

from aws-lambda-power-tuning.

larry-voicefoundry avatar larry-voicefoundry commented on June 12, 2024

I should have mentioned I saw that issue and already tried to update the SAR version. I originally deployed the app with the version it defaults to. After seeing the open issue, I deleted the stack, upped the version to 4.2.0, and redeployed, but I got the same error.

I have attached the stack file I last deployed with.
the-lambda-power-tuner-stack.txt

from aws-lambda-power-tuning.

alexcasalboni avatar alexcasalboni commented on June 12, 2024

Ok cool, thanks for the update. By the way, that PR has finally been merged today 😄

Back to our problem.

Any chance that you're trying to power-tune the same function multiple times in parallel? (as in, running multiple executions of state machine concurrently, on the same function)

If that's not it, let's consider a few more options.

For example, does the same happen if you add aws:states:opt-out to your function's description? (see this article to understand why)

from aws-lambda-power-tuning.

alexcasalboni avatar alexcasalboni commented on June 12, 2024

@larry-voicefoundry cool 🚀 I'm glad we figured it out!

And thanks for using Lambda Power Tuning 🙏

from aws-lambda-power-tuning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.