Skip to content

Prototype GraphQL log-query access - #8560

Draft
rmcnews wants to merge 8 commits into
Shopify:mainfrom
rmcnews:rmc/dev-platform-log-query-cli-prototype
Draft

rmcnews wants to merge 8 commits into
Shopify:mainfrom
rmcnews:rmc/dev-platform-log-query-cli-prototype

Conversation

@rmcnews

@rmcnews rmcnews commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Prototyping CLI log-query access through Dev Platform GraphQL. Follow-up to #8549; not for release.

WHAT is this pull request doing?

The hidden local-only app logs query command calls https://dev.shop.dev/api/unstable/graphql, sends app(key:) { logs(input:) }, prints the logs result, and surfaces GraphQL errors. Uses the app client ID without an organization flag. Keeps existing authentication helpers and server-owned query limits.

How to manually test your changes?

With a compatible local prototype API:

SHOPIFY_APP_LOG_QUERY_PROTOTYPE=1 SHOPIFY_SERVICE_ENV=local \
  node packages/cli/bin/dev.js app logs query \
  --client-id YOUR_APP_KEY --minutes 15 --limit 3

Co-authored by AI (GPT-5)

Co-authored by AI (GPT-5)
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
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.

1 participant