-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
--continue flag is not exiting with highest exit code #454
Comments
hi @jaredpalmer do you might know where the problem is? is it something I can contribute to |
…ebase The turborepo has a bug and it does not exit with the highest exit code it encounters when --continue is used [0]. [0] vercel/turbo#454 Part of request #24241: Cache the build results of the JS toolchain Change-Id: I7bf2c7cd2f5cf1a8056cb40bf0d9c09349379fd3
I can confirm that I'm seeing the same problem, with unit tests. I'm on This is a significant problem because it means we can't see all the failures on CI, only the first failures that occur. |
Present in |
Fixed for me in |
This: * adds a test that ensures that we apply app transforms to packages symlinked under node_modules, such as in a yarn-workspaces-style monorepo. * automatically normalizes the root path when constructing `DiskFileSystemVc`s, which previously accepted any string, even relative paths, such as from the snapshot test runner. This became an issue as the logic in #406 assumes that it begins with `/` (cc @Brooooooklyn). To do: * [x] Add snapshot test covering transforming monorepo dependencies * [x] Implement transforming monorepo dependencies Test Plan: Added snapshot test
Present for me in 1.8.5. |
Hey, folks! Figuring this is a stale. Please open a new issue if you're still seeing this behavior. |
What version of Turborepo are you using?
4.4.4
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
Running a command in multiple packages doesn't return an exit code 1 if it encounters an error. For example, running a prettier command in package A will return an error but the exit code of the turbo command will still be 0.
Expected Behavior
turbo command with
--continue
flag exists with 1 or higher eventually, if it encounters an errorTo Reproduce
I guess have a prettier command setup in your repo and produce an error in package A and not one in package B.
The text was updated successfully, but these errors were encountered: