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

more child-process #18688

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from
Draft

more child-process #18688

wants to merge 63 commits into from

Conversation

pfgithub
Copy link
Contributor

@pfgithub pfgithub commented Mar 31, 2025

What does this PR do?

test-child-process-reject-null-bytes (prefer #15163?) (Fixes BUN-13252)

  • failure in bun-debug test ./test/js/bun/net/tcp.test.ts, reproduces locally
    • this is failing on main

test-child-process-emfile (Fixes BUN-13253)

@robobun
Copy link

robobun commented Mar 31, 2025

Updated 9:51 PM PT - Apr 11th, 2025

@pfgithub, your commit a648eaf has 5 failures in Build #14854:


🧪   try this PR locally:

bunx bun-pr 18688

@@ -391,7 +391,27 @@ void us_internal_dispatch_ready_poll(struct us_poll_t *p, int error, int eof, in
const int recv_flags = MSG_DONTWAIT | MSG_NOSIGNAL;
#endif

int length = bsd_recv(us_poll_fd(&s->p), loop->data.recv_buf + LIBUS_RECV_BUFFER_PADDING, LIBUS_RECV_BUFFER_LENGTH, recv_flags);
int length;
if(s->context->is_ipc) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you put this on the socket type instead so we avoid this branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the branch is just before a syscall, is it important to avoid it?

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.

3 participants