The Wire · Showcase
SHOPIFY CLI HARDENS ASSET UPLOADS, ADDS STORE OPENER
By RepoJournal · Filed · About Shopify
A critical fix prevents silent failures in GCS bundle uploads that could leave deployments broken without warning.
Shopify CLI patched a dangerous bug in uploadToGCS where failed bundle uploads were treated as successes because the function ignored HTTP response codes [1]. An expired signature or transient 5xx error would silently pass through, handing deploy an assetsUrl for an object that never actually uploaded. This lands alongside a new shopify store open command [2] that opens a storefront in your default browser, reusing store lookup so preview stores surface their tokenized access URLs without manual copying. On the test reliability front, the theme-fs test suite ditched filesystem mocks entirely [3], moving to real temporary directories via inTemporaryDirectory for better isolation and fewer flaky tests. Over in Hydrogen, mini-oxygen 4.2.0 ships with a self-sufficient Vite plugin that infers compatibility dates from your resolved Hydrogen package [4], eliminating one more config step. The same release also fixes tsconfig path alias resolution in SSR environments [5], so ~/ imports work on fresh quickstart projects instead of throwing Cannot find module errors.
Action items
- → Update @shopify/cli to latest version to fix GCS upload verification before next deploy Shopify/cli [immediate]
- → Upgrade @shopify/mini-oxygen to 4.2.0 if you're running fresh Hydrogen quickstarts or using tsconfig aliases Shopify/hydrogen [plan]
- → Test shopify store open command in your workflow for faster storefront access Shopify/cli [monitor]
References
- [1] Validate GCS bundle upload status in uploadToGCS ↗ Shopify/cli
- [2] Add `shopify store open` command ↗ Shopify/cli
- [3] [Tests] remove filesystem mocks in theme-fs tests ↗ Shopify/cli
- [4] @shopify/[email protected] ↗ Shopify/hydrogen
- [5] fix(mini-oxygen): enable tsconfigPaths in SSR environment to resolve ~/ aliases (#3823) Shopify/hydrogen
FAQ
- What changed in Shopify on July 2, 2026?
- A critical fix prevents silent failures in GCS bundle uploads that could leave deployments broken without warning.
- What should Shopify teams do about it?
- Update @shopify/cli to latest version to fix GCS upload verification before next deploy • Upgrade @shopify/mini-oxygen to 4.2.0 if you're running fresh Hydrogen quickstarts or using tsconfig aliases • Test shopify store open command in your workflow for faster storefront access
- Which Shopify repositories shipped on July 2, 2026?
- Shopify/cli, Shopify/hydrogen