theme publish / themePublish goes through while a Rollout is attached to the live theme and deletes its theme edits — Help Center says it should be refused
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- graphql, typescript
- 領域
- cli
研究方向
Start by tracing the theme publish command and the themePublish(id:) GraphQL mutation it sends, then check the publish flow for attached rollouts. Reproduce with an open Launch rollout that has a theme customization and confirm whether publishing is refused while preserving the rollout edits. The issue does not name relevant files or tests, so locate the publish implementation and its tests before deciding on a change.
由索引模型根據 Issue 內容生成。
描述
The Help Center (Managing rollouts) says a theme published from Shopify CLI or the GraphQL Admin API isn't published while rollouts are attached to the live theme, and that those rollouts must be ended or archived first. On 2026-10-22 we saw exactly that: shopify theme publish (CLI 4.9.4) failed with "Theme cannot be published when the published theme has attached rollouts. Unlink … before trying again."
On 2026-11-16, on a Plus development store, we created a draft Launch rollout and changed one setting of the live theme inside it in the theme editor. The Rollouts list showed 6 markets and a customization. We then ran shopify theme publish --theme <id> --force from GitHub Actions with a Theme Access password:
- CLI 5.0.1: published (twice)
- CLI 4.9.4: published
Each time the new theme went live and the rollout lost its customization; it no longer showed markets or a customization. Both CLI versions send the same themePublish(id:) mutation.
Expected: the publish is refused, as documented, and the rollout keeps its theme edits.
Questions: Is this an intended change? If so, could the Help Center be updated? Is there a supported way to stop a CLI or CI publish from removing open rollouts' theme edits?
- 主要語言
- TypeScript
- 星號
- 778
- 分支
- 306
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 108
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Shopify/cli 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 5/100
維護者通常 1 天內回覆
-
[Bug]: `theme dev --theme-editor-sync` re-downloads config/settings_data.json every ~45s when it contains a "/" (checksum mismatch)可能已有人在做 @efegokdemir 於 19 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 25/100
維護者通常 1 天內回覆
-
A background token refresh failure in a non-interactive process wipes every saved CLI session (all accounts)可能已有人在做 @efegokdemir 於 36 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 35/100
維護者通常 1 天內回覆
-
[Bug]: app-logs poll returns HTTP 400 "Malformed JWT" — `shopify app dev` loops "Error while polling app logs" (CLI 4.9.4)可能已有人在做 @jay23606 於 29 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 30/100
Shopify/cli#8906 · 1 則留言 · 3 個 reaction ·
維護者通常 1 天內回覆
-
no-issue-activity
難度 4/5 3-5 天 新手友好度 25/100
維護者通常 1 天內回覆
相似的 Issue
-
MCP tool results drop structuredContent when text is only a summary可能已有人在做 @Pankaj-bit361 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
inblockio/siwx-oidc-matrix-server#101 ·
維護者通常 1 天內回覆
-
status:needs-triage
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
pingdotgg/t3code#42253 · 1 則留言 ·
維護者通常 1 天內回覆