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
-
bug
难度 2/5 半天 新手友好度 62/100
garethgeorge/backrest#1451 ·
维护者通常 1 天内回复
-
fix(core): \.pluck() returns values in key insertion order instead of requested argument order可能已有人在做 @ManyaS-Git 于 1 天前认领。 未关闭status:in-linear
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 13 天内回复
-
bug
难度 2/5 半天 新手友好度 68/100
navikt/skjemabygging-formio#2399 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
lidofinance/validator-ejector#233 ·
维护者通常 1 天内回复