Repository navigation
node:child_process: keep an IPC message that arrives before there is a 'message' listener #45678
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
Open
dylan-conway
wants to merge
19
commits into
main
Choose a base branch
from
claude/ipc-pending-messages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+578
−35
Open
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8141b01
node:child_process: keep an IPC message that arrives before there is …
dylan-conway dd3283d
node:child_process: emit held IPC messages in one tick in the parent …
dylan-conway 31474d6
Held IPC messages are emitted as in Node where a listener throws: the…
dylan-conway 07f946e
Import bunEnv in the IPC test
dylan-conway 2a7ae47
In a child the held IPC messages are emitted from a real 'newListener…
dylan-conway 647f0c7
process.emit() throws what a listener throws as in Node, and IPC mess…
dylan-conway d1fa042
Remove a test that belongs to another change
dylan-conway 3b17139
In a child the IPC code asks the listenerCount() that JavaScript sees…
dylan-conway 8000854
process.emit() is main's again, the parent's code for held messages i…
dylan-conway 3c32b31
With no 'message' listener a child asks the listenerCount() that Java…
dylan-conway ff0ac4c
The child's 'newListener' listener for held IPC messages is native, s…
dylan-conway 5889eb8
The parent's tick for held IPC messages tests the channel, as in Node
dylan-conway a01f1c4
Test that on() at the stack limit throws to its caller while IPC mess…
dylan-conway 3654a5a
Kept IPC messages are not emitted after an exception nobody handles o…
dylan-conway 14e38d2
The owner of an IPC channel hears of the peer's EOF in the loop itera…
dylan-conway e1edd65
A tick queued in a dns, dgram, inspector, fs.watch or child stdio cal…
dylan-conway 1158d52
A kept IPC message builds the tick queue in a preload too
dylan-conway 804af16
Take the callback order changes in dns, dgram, inspector, fs.watch an…
dylan-conway 4e0ae84
The owner of an IPC channel hears of a reset by the peer in the loop …
dylan-conway File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.