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(core): run-commands should handle signals correctly #20611

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Dec 6, 2023

The exit handlers were not being called, thus long-running child process never exits.

Current Behavior

Long-running child processes are left dangling after the run. e.g. when you run e2e, it does not kill the server started through run-commands/

Expected Behavior

Long-running child processes should exit.

Related Issue(s)

Fixes #

@jaysoo jaysoo requested a review from a team as a code owner December 6, 2023 14:52
@jaysoo jaysoo requested a review from FrozenPandaz December 6, 2023 14:52
Copy link

vercel bot commented Dec 6, 2023

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 3:21pm

@jaysoo jaysoo force-pushed the fix/run-commands-exit-gracefully branch 3 times, most recently from ba90010 to 6d37011 Compare December 6, 2023 19:14
@FrozenPandaz FrozenPandaz enabled auto-merge (squash) December 6, 2023 19:42
@jaysoo jaysoo force-pushed the fix/run-commands-exit-gracefully branch 2 times, most recently from 2cb9f0d to e9a90f2 Compare December 6, 2023 22:23
@jaysoo jaysoo force-pushed the fix/run-commands-exit-gracefully branch 6 times, most recently from 40065fc to 189953b Compare December 7, 2023 15:20
@jaysoo jaysoo force-pushed the fix/run-commands-exit-gracefully branch from 189953b to fa6d731 Compare December 7, 2023 15:20
@FrozenPandaz FrozenPandaz disabled auto-merge December 7, 2023 18:29
@FrozenPandaz FrozenPandaz merged commit 37bcf86 into nrwl:master Dec 7, 2023
4 of 6 checks passed
Copy link

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 Dec 13, 2023
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.

3 participants