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

Move link uses api client config as fallback #3648

Merged

Conversation

alvaro-shopify
Copy link
Contributor

WHY are these changes introduced?

Cherry picked commits from this PR in main to create a hotfix

WHAT is this pull request doing?

How to test your changes?

Post-release steps

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.

Copy link
Contributor

github-actions bot commented Apr 3, 2024

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

Copy link
Contributor

github-actions bot commented Apr 3, 2024

Differences in type declarations

We detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:

  • Some seemingly private modules might be re-exported through public modules.
  • If the branch is behind main you might see odd diffs, rebase main into this branch.

New type declarations

We found no new type declarations in this PR

Existing type declarations

packages/cli-kit/dist/public/node/tcp.d.ts
@@ -1,11 +1,10 @@
 /**
  * Returns an available port in the current environment.
  *
- * @param preferredPort - Number of the preferred port to be used if available.
  * @returns A promise that resolves with an availabe port.
  * @example
  */
-export declare function getAvailableTCPPort(preferredPort?: number): Promise<number>;
+export declare function getAvailableTCPPort(): Promise<number>;
 /**
  * Checks if a port is available.
  *
packages/cli-kit/dist/public/node/api/business-platform.d.ts
@@ -1,6 +1,6 @@
 import { GraphQLVariables } from './graphql.js';
 /**
- * Executes a GraphQL query against the Business Platform Destinations API.
+ * Executes a GraphQL query against the Business Platform API.
  *
  * @param query - GraphQL query to execute.
  * @param token - Business Platform token.

Copy link
Contributor

github-actions bot commented Apr 3, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 72.2% 6762/9366
🟡 Branches 69.18% 3313/4789
🟡 Functions 70.99% 1806/2544
🟡 Lines 73.37% 6376/8690

Test suite run success

1618 tests passing in 755 suites.

Report generated by 🧪jest coverage report action from 5b70eee

@alvaro-shopify alvaro-shopify merged commit e03cb9c into stable/3.58 Apr 3, 2024
@alvaro-shopify alvaro-shopify deleted the move-link-uses-api-client-config-as-fallback branch April 3, 2024 10:12
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.

None yet

2 participants