Skip to content

Ensure project_eval result is received by the parent - #45

Merged
jonatanklosko merged 1 commit into
mainfrom
jk-eval-ensure-ipc
Nov 13, 2025
Merged

Ensure project_eval result is received by the parent#45
jonatanklosko merged 1 commit into
mainfrom
jk-eval-ensure-ipc

Conversation

@jonatanklosko

Copy link
Copy Markdown
Contributor

Currently the child does process.send and immediately process.exit. My understanding is that process.send is async and it is not guaranteed that the message is sent by the time the child exists. To guarantee it, we make the parent send an acknowledgement before exiting. See nodejs/node#6767.

@jonatanklosko
jonatanklosko merged commit 384e5b1 into main Nov 13, 2025
2 checks passed
@jonatanklosko
jonatanklosko deleted the jk-eval-ensure-ipc branch November 13, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants