Giter Club home page Giter Club logo

Comments (2)

buddhike avatar buddhike commented on July 25, 2024 3

Thanks for reporting this. This is currently by design. But I see your problem and happy to fix this after we gather some more info.

  • What do we do when command fails in one module? Currently, as you noted, we move on to executing the command in next available module. Should we continue to do this or should we fail fast? Or have an option to control this (--fail-fast)

  • What should be the return code if a command fails? If we are operating under a option like fail-fast, we can certainly return the exit code from the user command. However, if we are moving on, and there are multiple failures, we need a strategy to decide which exit code to return.

My preference is to have --fail-fast option. And if we run commands without this option, we can simply return 1 (For example, this is what build command does at the moment).

from mbt.

tuannvm avatar tuannvm commented on July 25, 2024 1

Thanks for the prompt answer! Yea they --fail-fast option would be definitely helpful.
And returning 1 which is similar to build command would be better than returning 0 even though at least one module failed

from mbt.

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.