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): allow isolated plugins to shut themselves down #27317

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

AgentEnder
Copy link
Member

Current Behavior

Isolated plugin workers are shutdown via childProcess.kill() in a process.on('exit) handler.

Expected Behavior

Isolated plugin workers are shutdown via a message sent over their socket, which tells the to clean themselves up

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested a review from a team as a code owner August 6, 2024 20:04
@AgentEnder AgentEnder requested a review from FrozenPandaz August 6, 2024 20:04
Copy link

vercel bot commented Aug 6, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Aug 8, 2024 10:40pm

Copy link
Collaborator

@FrozenPandaz FrozenPandaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verify that this fixes the windows issue and then, re-enable isolation on Windows in this PR

@AgentEnder AgentEnder requested a review from FrozenPandaz August 6, 2024 21:28
@MaxKless MaxKless self-requested a review August 7, 2024 11:31
@MaxKless
Copy link
Collaborator

MaxKless commented Aug 8, 2024

Works on my windows machine :)

@AgentEnder AgentEnder force-pushed the fix/plugin-worker-shutdown branch from 1603151 to 5e43458 Compare August 8, 2024 22:38
@AgentEnder AgentEnder merged commit 413cbb8 into master Aug 9, 2024
6 checks passed
@AgentEnder AgentEnder deleted the fix/plugin-worker-shutdown branch August 9, 2024 14:22
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 Aug 16, 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.

3 participants