Skip to content

Add global-agent to CLI for proxying - #3244

Closed
shauns wants to merge 1 commit into
mainfrom
add-http-agent-proxying
Closed

shauns wants to merge 1 commit into
mainfrom
add-http-agent-proxying

Conversation

@shauns

@shauns shauns commented Jan 10, 2024

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

#3225

WHAT is this pull request doing?

Uses global-agent to allow users to set up HTTP(S) proxying as they see fit.

How to test your changes?

TBD! Run with GLOBAL_AGENT_HTTP_PROXY, GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE etc. Similar to Apollo https://www.apollographql.com/docs/apollo-server/v3/proxy-configuration/

Post-release steps

We'll need docs on shopify.dev for this

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

Depending on what you are working on, you may want to request a review from a Shopify team:

  • Themes: @shopify/advanced-edits
  • UI extensions: @shopify/ui-extensions-cli
    • Checkout UI extensions: @shopify/checkout-ui-extensions-api-stewardship
  • Hydrogen: @shopify/hydrogen
  • Other: @shopify/cli-foundations

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

St.❔
Category Percentage Covered / Total
🟡 Statements
73.65% (-0.02% 🔻)
6492/8815
🟡 Branches
70.91% (-0.02% 🔻)
3166/4465
🟡 Functions 72.8% 1662/2283
🟡 Lines
74.77% (-0.02% 🔻)
6142/8215
Show files with reduced coverage 🔻
St.❔
File Statements Branches Functions Lines
🟢
... / ConcurrentOutput.tsx
97.62% (-2.38% 🔻)
75% (-8.33% 🔻)
100%
97.44% (-2.56% 🔻)

Test suite run success

1523 tests passing in 700 suites.

Report generated by 🧪jest coverage report action from 8b45347

@github-actions

Copy link
Copy Markdown
Contributor

This PR seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

@chaohui2

Copy link
Copy Markdown

This is very useful. Can we restart the merge process. I am happy to do something for this matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants