Repository navigation
Add typed JSON output to app bulk status - #8781
Merged
isaacroldan merged 3 commits intoOct 8, 2026
Merged
Conversation
isaacroldan
added this pull request to stack #8784
October 6, 2026 08:30
Contributor
Author
|
/snapit |
Contributor
|
🫰✨ Thanks @isaacroldan! Your snapshot has been published to npm. Built from Test the snapshot by installing your package globally: pnpm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20261006083341Caution After installing, validate the version by running |
isaacroldan
force-pushed
the
codex/app-bulk-status-json
branch
from
October 6, 2026 10:00
8b7fbc5 to
c0bcb14
Compare
isaacroldan
removed this pull request from stack #8784
October 6, 2026 10:03
isaacroldan
added this pull request to stack #8789
October 6, 2026 10:03
isaacroldan
force-pushed
the
codex/app-bulk-status-json
branch
from
October 6, 2026 16:48
c0bcb14 to
99d2c65
Compare
dmerand
approved these changes
Oct 7, 2026
dmerand
left a comment
Contributor
There was a problem hiding this comment.
Tophat + changes both LGTM 🚢
isaacroldan
force-pushed
the
codex/app-bulk-status-json
branch
from
October 7, 2026 15:33
99d2c65 to
b502af8
Compare
isaacroldan
force-pushed
the
codex/app-bulk-status-json
branch
from
October 8, 2026 08:13
b502af8 to
42a1c30
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WHY are these changes introduced?
Related to https://github.com/shop/issues-develop/issues/23664
Give callers a typed, discoverable JSON result for bulk-operation status without parsing terminal output.
WHAT is this pull request doing?
Add JSON output for
app bulk status, including empty lists and missing operations. Reuse the preceding common layer's bulk-operation projection, codec, and diagnostic presenter. Keep the existing text output.Representative text output:
Matching JSON output:
{ "storeDomain": "shop.myshopify.com", "apiVersion": "2026-01", "operationGid": "gid://shopify/BulkOperation/123", "operation": { "gid": "gid://shopify/BulkOperation/123", "type": "QUERY", "status": "RUNNING", "errorCode": null, "createdAt": "2026-09-01T00:00:00Z", "completedAt": null, "objectCount": "2", "url": null, "partialDataUrl": null } }How to manually test your changes?
Use a linked app installed on a development store.
pnpm shopify app bulk status --store <store.myshopify.com>, then add--json. Confirm the table becomes one object with anoperationsarray.--id <operation-id>to both commands. Check the existing status banner and the JSON operation fields.pnpm shopify app bulk status --json-schema. No app or store authentication is needed for schema discovery.Checklist