-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new: Add moon run --eager
to disable fail-fast behavior and execute as many tasks as possible
#1773
Conversation
I confirmed that providing |
Could you point this to the |
I did a quick eval of a few other task runners to see if they have a similar option. Here's the result:
It's unclear if |
7ae3443
to
7e7a706
Compare
Note that all of the tools I've canvased so far default to eager/aggressive behavior, with a flag to manually enable the fail-fast mode. As stated, turborepo defaults to |
Yeah I noticed this also. Would be a breaking change for moon, but something I can look into changing for 2.0. |
I added the fix for exiting non-zero on failure. As for names, I prefer
I don't find the "bail after 10 errors" mode very useful, but I could see a trio of options like this being useful:
The final mode is not supported right now, but using an enum would keep the option open. Or just deal with it in 2.0. The simplest solution is probably |
My only hesitation with Maybe |
b4f7865
to
ead153e
Compare
Sounds good. Should it be |
The --no-bail flag makes moon run behave more like moon ci.
ead153e
to
f949c90
Compare
I pushed up the changes with |
Awesome stuff, thanks! Aiming to release 1.31 on monday. |
… as many tasks as possible (#1773) new: Add `moon run --no-bail` to disable fail-fast behavior The --no-bail flag makes moon run behave more like moon ci.
The
--eager
flag makes moon run behave more like moon ci.Fixes #1770