-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Align arguments of connect()
in node:tls and node:net to Node (#10854)
#10870
Align arguments of connect()
in node:tls and node:net to Node (#10854)
#10870
Conversation
connect()
in node:tls and node:net with Node (#10854)
connect()
in node:tls and node:net with Node (#10854)connect()
in node:tls and node:net to Node (#10854)
…com/henrikstorck/bun into feature/align-tls-connect-with-node
Thank you for this. Looks like there are some failing node:tls tests. Our tests might be wrong and need to be updated. |
Do you mean the github-actions message from 20h ago? I pushed a few commits since then. Should be a lot less failing tests now |
@Jarred-Sumner It just finished re-running the tests and no more failing node:tls tests I think |
this appears to have broken |
Going to revert this and revisit. Apologies! |
@nektro Sorry! Are there any other tests failing because of this? |
no worries! thank u for the patch :) that looked to be like the only one. all the new ones you added worked. I'm working on making a new PR to test all the changes and will add you as co-author |
Hey @nektro, were you able to reproduce the failing tests locally? |
yeah with 6217d78 checked out and making a fresh build the Postgres test file was timing out for me locally |
What does this PR do?
The handling of arguments in Bun's implementation of
connect()
(node:tls
) deviates from the available combinations of arguments in Node. This breaks compatibility for many packages that rely on the order of parameters in Node.I adjusted the
connect
method to allow the same amount and order of arguments as Node.How did you verify your code works?
bun-debug test test-file-name.test
)