Events schema blocks app deploys that use legacy OAuth scopes
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- cli
Línea de trabajo
Comienza reproduciendo el problema con Shopify CLI 4.7.0 usando una configuración de app con access_scopes, read_products y use_legacy_install_flow establecidos en true. Compara shopify app config validate con shopify app deploy --no-release y, después, verifica que Events siga siendo opcional para legacy OAuth o que su Product topic acepte el scope declarado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Shopify app deploy is blocked for an established app that uses the legacy OAuth installation flow with per-shop dynamic scope overrides.
The current remote app-config schema requires an Events section with at least one subscription. Adding a Product subscription and declaring read_products passes shopify app config validate, but app-version creation fails with:
Missing scope for event topic: Product (read_products)
This happens with both the documented scopes string and the newer required_scopes array when use_legacy_install_flow = true. Removing the Events section instead fails config validation with [events]: Required.
Reproduction
- Use Shopify CLI 4.7.0 with an app config containing access_scopes, read_products, and use_legacy_install_flow = true.
- Add an Events subscription for the Product topic.
- Run shopify app config validate: the config is valid.
- Run shopify app deploy --no-release: version creation fails because read_products is allegedly missing.
- Remove the Events section and validate again: validation fails because Events is required.
The same mandatory-Events schema is received by the repository-pinned CLI 3.94.3.
Expected behavior
Events is a developer-preview feature and should remain optional. Apps using legacy OAuth should be able to deploy without an Events section. Alternatively, if Events is intended to support legacy installation, its topic-scope validator should recognize scopes declared in the app config.
Impact
The app cannot create staging or production app versions without either adopting preview Events and abandoning its existing legacy dynamic-scope flow, or failing app-config validation. This blocks unrelated extension deployments.
- Lenguaje dominante
- TypeScript
- Estrellas
- 753
- Forks
- 295
- Merge medio
- 2 d 20 h
- PR fusionados (30 d)
- 163
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Shopify/cli
-
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 2 días
-
[Bug]: app deploy fails intermittently with ENOENT on <handle>.js.map when two UI extensions share a folderPosiblemente ocupada @efegokdemir la tomó hace 7 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 67/100
Shopify/cli#8823 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Shopify/cli#8753 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
[Bug]: `theme dev` proxy 502s on cookie-heavy storefront responses (undici default 16 KiB `maxHeaderSize`)Posiblemente ocupada @efegokdemir la tomó hace 12 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Shopify/cli#8717 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
[Bug]: `shopify hydrogen dev` exits before listening when the npm registry is unreachable (p-cancelable onCancel-after-settle in latest-version chunk)Posiblemente ocupada @efegokdemir la tomó hace 12 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 2 días
Todos los issues de Shopify/cli
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dsh-market/dsh-market#877 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
stellar/stellar-dev-skill#151 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Trial & Error: guided Blind offer squeezes on phones and sits under the touch toolbar on iPadAbiertoarea:arcade game ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
fderuiter/deruiter.dev#2281 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
scope: data grid type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días