Code Monkey home page Code Monkey logo

Comments (4)

molnarzs avatar molnarzs commented on May 18, 2024 1

Just a comment, we also had this problem, we worked around with the attached patch:

@serverless-stack+cli+0.20.0.patch.zip

So if there is no PR yet I could even create it

from sst.

smoll avatar smoll commented on May 18, 2024

Looking at the code, it looks like there is nothing that checks to see if any of the final stackStates are in a failed state.

Would you accept a PR for this? What do you think the behavior should be, to exit non-zero if any of the stacks failed?

Would it be better if this were a flag, e.g. something like --error-on-failed-states? TBH, even just writing that feels awkward. I think changing it to exit non-zero on any failures is the least surprising default behavior.

from sst.

jayair avatar jayair commented on May 18, 2024

@smoll Thanks for looking into it. Yeah the non-zero status is the right behavior for sure. We'd appreciate a PR!

from sst.

fwang avatar fwang commented on May 18, 2024

This has been fixed in v0.23.0

@smoll @molnarzs Thank you guys for bringing this up.

from sst.

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.