The Wire · Showcase
CLI TIGHTENS THEME ACCESS ERRORS WHILE HYDROGEN CUTS TELEMETRY NOISE
By RepoJournal · Filed · About Shopify
Shopify CLI is surfacing clearer error messages when theme tokens lack the right permissions, while Hydrogen reduces performance monitoring overhead by 90 percent.
The CLI team shipped a fix [1] that replaces cryptic GraphQL `ACCESS_DENIED` errors with actionable guidance when users supply theme passwords or tokens that can't reach Online Store themes. This targets the high-volume failure case where developers paste a token path that lacks theme scope access, turning a raw API error into a human-readable fix. Meanwhile, the test infrastructure across CLI is getting a major upgrade: vitest just shipped 4.1.0 [2], and the team has already pushed through compatibility fixes [3][4][5] to lock in the new test runner without breaking existing unit tests. On the Hydrogen side, the team reduced PerfKit's resource timing sample rate from 100 to 10 [6], cutting unnecessary telemetry collection while keeping performance monitoring intact for storefronts that actually need it.
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
- → Review CLI error messages in your theme workflows - the new guidance is rolling out automatically Shopify/cli [monitor]
- → Run your test suite against vitest 4.1 in CLI if you maintain custom test hooks Shopify/cli [plan]
- → Verify PerfKit telemetry levels on Hydrogen storefronts in production after the sample rate reduction Shopify/hydrogen [monitor]
References
- [1] Improve missing theme scope error message ↗ Shopify/cli
- [2] Bump vitest from 3.2.4 to 4.1.0 ↗ Shopify/cli
- [3] Fix Vitest 4 unit test compatibility Shopify/cli
- [4] Narrow Vitest 4 compatibility fixes Shopify/cli
- [5] Fix Vitest 4 compatibility Shopify/cli
- [6] Lower perkit sample rate ↗ Shopify/hydrogen