Skip to content

Introduce local store auth summary API#7709

Draft
dmerand wants to merge 3 commits into
donald/store-list-business-platformfrom
donald/store-list-local-auth-seam
Draft

Introduce local store auth summary API#7709
dmerand wants to merge 3 commits into
donald/store-list-business-platformfrom
donald/store-list-local-auth-seam

Conversation

@dmerand
Copy link
Copy Markdown
Contributor

@dmerand dmerand commented Jun 3, 2026

Summary

Introduce a local auth summary API without changing shopify store list behavior yet.

Parent and child

PR Role
#7708 BP-only store list
#7709 local auth summary API
#7714 local source + auto fallback

Scope

  • add StoredStoreAuthSummary
  • add listStoredStoreAuthSummaries() under services/store/auth
  • keep token-bearing session buckets as the current persistence source of truth
  • keep conf traversal and bucket cleanup in session-store.ts
  • re-export the summary API from services/store/auth/index.ts
  • fix the stale store list command test assertion after the BP-only trim

Why this split exists

The next PR needs one narrow question answered first:

  • what locally stored store auth exists on this machine?

This PR answers that without taking on product behavior:

  • no --source local
  • no BP→local fallback
  • no persistence migration

That keeps the behavior PR focused on command policy and output, not on storage traversal.

Boundary this PR is trying to establish

  • persistence details stay in session-store.ts
  • callers see StoredStoreAuthSummary[]
  • callers do not need token-bearing session buckets or conf layout knowledge

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label Jun 3, 2026
@dmerand dmerand changed the title Introduce local store auth summary seam Introduce local store auth summary API Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant