The Wire · Showcase
CLI NOW BLOCKS DELETED APP DEV STORES FROM SELECTION
By RepoJournal · Filed · About Shopify
The Shopify CLI fixed a critical gap where `app dev --reset` could surface deleted or inactive development stores, letting developers accidentally reconnect to invalid environments.
The store-selection logic for `app dev` now requires `STORE_STATUS=ACTIVE` [1], closing a hole where only `STORE_TYPE=app_development` was checked. This matters because deleted stores were still selectable, risking developers pushing code to dead environments. The team also completed a test quality push across the CLI [2] [3], removing filesystem mocks from cloudflared and git test suites. Real temporary directories now replace mocks, making tests verify actual behavior instead of implementation details—a shift that catches real failures earlier.
One email a day. Unsubscribe in one click.
Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Update Shopify CLI to latest version before next `app dev --reset` Shopify/cli [plan]
- → Audit existing app dev stores in your environment—delete unused ones if not already done Shopify/cli [monitor]
References
- [1] Only show active stores for app dev ↗ Shopify/cli
- [2] [Tests] Refactor install-cloudflared tests to remove filesystem mocks ↗ Shopify/cli
- [3] [Tests] Remove filesystem mocks in git.test.ts ↗ Shopify/cli