-
Notifications
You must be signed in to change notification settings - Fork 503
fix: Correctly handle proxies with undici #2567
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Nice PR! |
|
Hey @chingor13, is there any update on this PR? Any plans to introduce and release it soon, or do you plan a different implementation for #2259? |
|
Any updates on this PR? We would really appreciate a merge if nothing blocks it! |
|
@chingor13 heavily needed here |
|
Hi @PeterC89. Can you please rebase against the latest |
|
@ferrarimarco Thanks for the response. I think Peter explained it already, especially in #2259 - what part is unclear? Perhaps I can also jump in. |
|
There are a bunch of changes in this PR, but there's no explanation about why they are needed. 😄 |
|
@ferrarimarco
Additionally Node18 was removed as it was EOL, at this time GitHub are also deprecating Node20 on their runners as it goes EOL in April. Given that is has been nearly 2 years since the original issue was raised we have moved on as a team from trying to use |
|
Thanks for updating the PR description. I suggest limiting changes in this PR to what's absolutely necessary to fix the issue, so review is easier. Also, I'd suggest to add tests where applicable. I see that this PR removes tests, and doesn't add any, so might be useful to add some. Note that we don't look at testing the proxy feature end-to-end, but rather baseline testing to check that we have everything in place as needed. |
|
@ferrarimarco The existing tests are wrong anyway, hence why they were removed. |
9ce4cde to
6390aa8
Compare
|
@ferrarimarco I remember the other reason for bumping to node 18 now, Uncidi needs |
f649256 to
51858ad
Compare
|
@ferrarimarco Would it be possible to review this before another rebase is necessary? :) I guess Peter provided the changes requested. Thanks! |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #2259 🦕
This PR does a number of things:
requestoptionshttp-proxy-agentbased proxying as this isn't supported by native node fetchEnvHttpProxyAgentto support proxies using standard environment varsBumps minimum node version to 20 as 18 is EOL