The Wire · Showcase
CLI ANALYTICS INFRASTRUCTURE SHIPS — SHOP ID ATTRIBUTION NOW LIVE
By RepoJournal · Filed · About Shopify
Shopify CLI's store command analytics just gained the shop_id dimension it's been missing, closing the attribution gap between store workflows and app commands.
The store command analytics split landed in two PRs to handle a schema dependency cleanly. First came the user_id tracking [2], then the shop_id piece that required the Monorail schema update [1] — both now merged and ready. This gives downstream analytics the full attribution picture for `shopify store auth` and `shopify store execute`, finally bringing store command observability to parity with app workflows. In parallel, oclif bumped to 4.23.0 [3] with readme generation improvements, and the CLI trimmed down manifest.json generation for packages that don't need it [4]. Over in Hydrogen, test infrastructure got a critical fix [5] — two upgrade flow tests were failing because `getPackageManager` was shelling out to `npm prefix` in a global context [6], which npm now rejects. That's patched.
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 CLI to latest for full store command analytics coverage Shopify/cli [plan]
- → Verify Hydrogen upgrade tests pass in your local CI environment Shopify/hydrogen [monitor]
References
- [1] Add store command shop id analytics ↗ Shopify/cli
- [2] Add store command analytics attribution ↗ Shopify/cli
- [3] Bump oclif from 4.22.96 to 4.23.0 in the oclif group across 1 directory ↗ Shopify/cli
- [4] Remove oclif.manifest.json generation for packages that don't need it Shopify/cli
- [5] fix: updates test to mock the getPackageManager call ↗ Shopify/hydrogen
- [6] fix: updates test to mock the getPackageManager call (#3745) Shopify/hydrogen