Skip to content

Conversation

@nickwesselman
Copy link
Contributor

@nickwesselman nickwesselman commented Dec 6, 2025

WHY are these changes introduced?

To enhance the user experience by providing more context in GraphQL operation commands, specifically by including organization information in the output.

WHAT is this pull request doing?

Adds organization information to GraphQL operation commands:

  1. Adds the organization parameter to executeBulkOperation, getBulkOperationStatus, listBulkOperations, and executeOperation functions
  2. Creates a new formatOperationInfo helper function in graphql/common.ts to standardize the display of operation context
  3. Updates the output messages in bulk operations and execute commands to show organization information
  4. Improves message formatting and consistency across commands

image.png

image.png

How to test your changes?

  1. Run any of the following commands with an app linked to an organization:
    • shopify app execute
    • shopify app bulk execute
    • shopify app bulk status
  2. Verify that the organization name appears in the output information
  3. Check that the formatting is consistent across all commands

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

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

Copy link
Contributor Author

nickwesselman commented Dec 6, 2025

@nickwesselman nickwesselman marked this pull request as ready for review December 6, 2025 20:18
@nickwesselman nickwesselman requested a review from a team as a code owner December 6, 2025 20:18
@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

We detected some changes at packages/*/src and there are no updates in the .changeset.
If the changes are user-facing, run pnpm changeset add to track your changes and include them in the next release CHANGELOG.

Caution

DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release.

@nickwesselman nickwesselman force-pushed the improve_info_box_for_graphql_commands branch from e2f320d to a68c9b0 Compare December 6, 2025 20:21
Copy link
Contributor Author

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
79.2% (+0.01% 🔼)
13909/17562
🟡 Branches
73.18% (+0% 🔼)
6793/9283
🟡 Functions
79.34% (+0% 🔼)
3563/4491
🟡 Lines
79.55% (+0.01% 🔼)
13140/16517
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / execute-operation.ts
92.86%
80% (-3.33% 🔻)
100% 92.31%
🟢
... / execute-bulk-operation.ts
92.98%
86.11% (-0.73% 🔻)
100% 92.73%

Test suite run success

3485 tests passing in 1406 suites.

Report generated by 🧪jest coverage report action from ce702b4

@nickwesselman nickwesselman force-pushed the improve_info_box_for_graphql_commands branch 2 times, most recently from 761814f to af652b4 Compare December 6, 2025 21:20
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