-
Benachrichtigungen
You must be signed in to change notification settings - Fork 12.4k
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
Add option --stopBuildOnErrors to tsbuild to get previous behavior of not building downstream projects if upstream has errors #59433
Conversation
Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page. Also, please make sure @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up. |
I was going to say "why not just noEmitOnError", but I guess it makes some sense to be able to emit all files no matter the type checking errors. But, I guess if I'm not sure what the right answer is here. |
I think "downstream" might be hard for developers to build an intuition around. I'd just call it something like
or something similar. |
The cut is early next week; what are we doing here? If I had to choose, I'd probably say |
But it’s not halt on build error .. it’s halt building dependencies .. so may be there are other projects that get built that are not in the tree .. |
That's true, yeah. |
I don't think the distinction is so important. |
Also, to be clear, the cut is today. RC is scheduled for Tuesday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM code wise; if stopBuildOnErrors
is the name we're doing with, the PR title should be updated just to ensure we don't confuse ourselves later.
#58854 removed the "error" as condition to block the downstream project build on errors.
Adds option
--noDownstreamOnError
to block the downstream project build on errors in upstream projects