Skip to content

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

Merged
jaysoo merged 1 commit intonrwl:masterfrom
LonguCodes:master
Jun 28, 2024
Merged

fix(js): node executor now correctly kills tasks when exiting#19219
jaysoo merged 1 commit intonrwl:masterfrom
LonguCodes:master

Conversation

@LonguCodes
Copy link
Copy Markdown
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
@LonguCodes LonguCodes requested a review from jaysoo September 18, 2023 23:01
@vercel
Copy link
Copy Markdown

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
Copy Markdown

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
@github-actions
Copy link
Copy Markdown
Contributor

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.

4 participants