-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Nx pseudo terminal panics on SIGKILL #27917
Labels
Comments
We started seeing a similar behaviour recently. Errors like:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
We've noticed that if we send SIGKILL to an Nx process sometimes it can crash from within the Rust Nx code and hang indefinitely. This issue is much more prevalent on our private monorepo which has 709 projects, but I've been able to create a reproduction case https://github.com/JamesNimlos/nx-debug-on-sigkill.
Expected Behavior
Nx should not panic reopen a terminal session and honestly I'm not entirely sure how it could since it's a SIGKILL.
GitHub Repo
https://github.com/JamesNimlos/nx-debug-on-sigkill
Steps to Reproduce
The script is this:
Where it's running
nx start crew
and then 300 ms later sending that process a SIGKILL (-9
).Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
Again, we see this very consistently on our private monorepo which has 709 and millions of lines of TS which obviously means it will take longer resolving the graph etc.
Additionally, on the reproduction case I could only get it to reproduce when I use the
start
target and added thebuild
target todependsOn
.The text was updated successfully, but these errors were encountered: