melos
melos copied to clipboard
request: add --fail-fast param to bootstrap
Is there an existing feature request for this?
- [X] I have searched the existing issues.
Command
melos bs --fail-fast
Description
fail-fast on bootstrap would ensure pub get is not run on the totality of the project before finding the failed result.
Reasoning
takes additional ci minutes for failed attempts
Additional context and comments
No response
That makes sense. Maybe we should even default to fail fast when we detect that we are running in CI. We can still allow --fail-fast and --no-fail-fast to override the default behavior.
default when we detect that we are running in CI
Is there a reason not to always do it ? My issue is specifically aimed at CI, but it annoyed me outside CI too
If I'm running melos bootstrap locally, I think I would prefer that as many packages get bootstrapped as possible, so I know which packages exactly have issues.