-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat(create-remix): Add proxy support in create cli #4159
Conversation
🦋 Changeset detectedLatest commit: f4f1dc1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hi @freeman, Welcome, and thank you for contributing to Remix! Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once. You may review the CLA and sign it by adding your name to contributors.yml. Once the CLA is signed, the If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at hello@remix.run. Thanks! - The Remix team |
c78e48f
to
1b3b28d
Compare
Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳 |
60a6484
to
fb3e2f9
Compare
slightly simplified the code by having a single agent for the whole file |
Let me know if I should do something to get this merged. This is adding friction to get remix adopted at work :) |
thanks for taking this on @freeman! i've had this on my backlog for far too long 😅. looks good to me on first glance |
Working out the test failures |
Issues appears only in test with This logic breaks under I saw 2 paths to fix this:
I went with the first option as some people noted that the logic of relying on stack trace could be broken in future node versions (TooTallNate/node-agent-base#63). |
@mcansh could you approve the workflow run if you're ok with the changes to allow tests to pass ? |
Signed-off-by: Logan McAnsh <logan@mcan.sh>
@freeman thanks again! do you know if it would be possible to add a test for this new behavior? I haven't worked much behind a proxy 😅 |
@mcansh I'll take a look but this seems complex to test. I'd need to spin up a temporary proxy server (this seems doable, there is a |
@mcansh added a basic test that verifies that proxy env variable is honored. |
🤖 Hello there, We just published version Thanks! |
Closes: #3159
Testing Strategy:
I tested the built cli behind a proxy and it worked seamlessly.