Preview Stores prototype: add preview create / execute / claim#7573
Draft
dmerand wants to merge 1 commit into
Draft
Preview Stores prototype: add preview create / execute / claim#7573dmerand wants to merge 1 commit into
dmerand wants to merge 1 commit into
Conversation
Adds three subcommands wrapping the Preview Stores orchestrator endpoints in Core (//areas/core/shopify, shop/world#708792): - `shopify preview create` — POST /services/preview-stores - `shopify preview execute` — runs an Admin GraphQL query against a preview store (reads token from --from-file or flags) - `shopify preview claim` — POST /services/preview-stores/claim (org-based vibe transfer hand-off) This branch is a prototype paired with shop/world#708792. It is not intended to merge as-is into Shopify/cli main — the Core endpoints it wraps are dev endpoints behind hardcoded basic auth. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4 tasks
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?
This is the companion CLI half of the original Preview Stores prototype.
The paired World PR (
shop/world#708792) adds local preview-store orchestration endpoints. This branch adds the CLI commands needed to exercise that flow end-to-end from a local CLI checkout:shopify preview createshopify preview executeshopify preview claimThis is a prototype branch, not a ship candidate.
WHAT is this pull request doing?
previewcommand surface in the CLIThis is the parent PR for the auth-bootstrap follow-up in #7574.
How to test your changes?
With the paired World branch from
shop/world#708792running locally:Post-release steps
None. This is prototype-only work and is not intended to ship as-is.
Checklist