Skip to content
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

fix(js): node executor now correctly kills tasks when exiting #19219

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

LonguCodes
Copy link
Contributor

Previously, the node executor od @nx/js did not kill spawned processes due to not awaiting finishing of killing and infinite loop.
This fix allows for seemless running nx in docker containers with support for signals

Current Behavior

When killing nx running @nx/js:node, child processes are not killed

Expected Behavior

Child processes should be killed

@LonguCodes LonguCodes requested a review from a team as a code owner September 18, 2023 23:01
@vercel
Copy link

vercel bot commented Sep 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jun 28, 2024 3:49pm

@konrad-szychowiak
Copy link

I've been looking for this as well!

@jaysoo jaysoo assigned jaysoo and unassigned ndcunningham Jun 28, 2024
@jaysoo jaysoo enabled auto-merge (squash) June 28, 2024 15:30
@nrwl nrwl deleted a comment from nx-cloud bot Jun 28, 2024
Previously, the node executor od @nx/js did not kill spawned processes due to not awaiting finishing
of killing and infinite loop.
This fix allows for seemless running nx in docker containers with support for signals
@jaysoo jaysoo merged commit 5245bed into nrwl:master Jun 28, 2024
6 checks passed
Copy link

github-actions bot commented Jul 6, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants