Skip to content

Keep long-lived Shopify sessions recoverable - #206

Merged
OziinG merged 1 commit into
mainfrom
codex/fix/shopify-session-resilience
Aug 20, 2026
Merged

Keep long-lived Shopify sessions recoverable#206
OziinG merged 1 commit into
mainfrom
codex/fix/shopify-session-resilience

Conversation

@OziinG

@OziinG OziinG commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • acquire fresh Shopify session tokens immediately before long-running Orders reconciliation polls and stop persisting id_token in app navigation
  • preserve Delivery API authentication failures as App Bridge retry responses or explicit deferred Orders recovery sentinels
  • replace bare status output with a safe shared admin recovery boundary and add one-shot stale Vite bundle recovery

Verification

  • 539 Shopify app tests
  • ESLint
  • typecheck
  • production build
  • public URL guard
  • Prisma migration replay and schema parity
  • independent code review: approved

Closes #205

Change-control: EVNSolution/clever-change-control#261

Constraint: Shopify session tokens expire after one minute and embedded requests must refresh per request.\nRejected: Persisting id_token in app URLs | stale credentials caused repeat failures and leaked into navigation state.\nConfidence: high\nScope-risk: moderate\nDirective: Preserve the outer 401 retry header or an explicit deferred-loader recovery sentinel on every Delivery auth failure.\nTested: 539 app tests, ESLint, typecheck, production build, public URL guard, Prisma migration replay, independent review.\nNot-tested: Signed-in embedded browser session held idle beyond one minute.
@OziinG
OziinG merged commit a85b5ad into main Aug 20, 2026
2 checks passed
@OziinG
OziinG deleted the codex/fix/shopify-session-resilience branch August 20, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden long-lived Shopify sessions and stale-tab recovery

1 participant