RepoJournal
Shopify

Shopify

Hydrogen, Polaris, and the CLI - the dev platform behind millions of stores

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.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

SHOPIFY CLI CLOSES STORE DELETE REGRESSION, ADDS CONFIRMATION GATES

By RepoJournal · Filed · About Shopify

Alfonso Noriega shipped three connected fixes for the store-auth session reuse regression that broke theme commands for OAuth users, then added irreversible deletion safeguards to prevent accidental store wipes.

The regression from CLI 4.4.0 hit Enterprise Support hard: store-auth sessions were being reused automatically across all theme commands without checking scopes, silencing OAuth users [1]. Noriega stacked three layers to fix it. First, he made session reuse opt-in per theme command [1], blocking the silent adoption that triggered the regression. Second, he added expiry checking [2] because theme commands were reading cached store-auth tokens but never validating their freshness, handing 401s to the Admin API with no refresh handler. Third, he wired verbose logging [3] so support can see exactly why a stored session was adopted, skipped, or rejected without tracing code. In parallel, Noriega shipped the `shopify store delete` command [4] that Business Platform now requests but CLI never had, then immediately wrapped it with confirmation UX [5]: store name required in interactive mode, `--force` required for CI, because deleting a development store is permanent. Ten commits, six PRs, one engineer closing a production hole and hardening a dangerous operation.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Make store auth session reuse opt-in per theme command ↗ Shopify/cli
  2. [2] Skip expired store auth sessions in theme commands ↗ Shopify/cli
  3. [3] Log store auth session decisions in theme commands under --verbose Shopify/cli
  4. [4] Add store delete command ↗ Shopify/cli
  5. [5] Require confirmation or --force for store delete ↗ Shopify/cli

Quick answers

What shipped in Shopify on July 30, 2026?
Alfonso Noriega shipped three connected fixes for the store-auth session reuse regression that broke theme commands for OAuth users, then added irreversible deletion safeguards to prevent accidental store wipes. In total, 10 commits and 6 pull requests landed.
Who contributed to Shopify on July 30, 2026?
1 developer shipped this update, including alfonso-noriega.
What were the notable Shopify updates?
Make store auth session reuse opt-in per theme command, Skip expired store auth sessions in theme commands, and Log store auth session decisions in theme commands under --verbose.

More from Shopify

Daily updates, in your inbox

Follow Shopify

Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?