Skip to content

Add hidden historical app logs command - #8937

Closed
rmcnews wants to merge 1 commit into
Shopify:mainfrom
rmcnews:rmc/app-logs-next
Closed

rmcnews wants to merge 1 commit into
Shopify:mainfrom
rmcnews:rmc/app-logs-next

Conversation

@rmcnews

@rmcnews rmcnews commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Add historical app-log retrieval behind a hidden command, leaving existing commands unchanged.

WHAT is this pull request doing?

Adds shopify app logs-next with webhook/GraphQL filters, existing user authentication, and table/JSON output.

JSON starts with only logs, ordering, and limitations. It preserves native record fields and deliberately omits query and the conventional pageInfo: neither is required for this initial retrieval workflow, and metadata can be added later without committing to pagination now.

How to manually test your changes?

pnpm shopify app logs-next --help
pnpm shopify app logs-next --json-schema
pnpm shopify app logs-next --client-id APP_CLIENT_ID --type webhook --since 1h --limit 20 --json

Retrieval requires App Logs API access. Confirm app --help hides logs-next and existing app logs/app logs sources remain available.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • I've considered changeset requirements (hidden command; no public release note yet)

Co-authored by AI (GPT-5)

Co-authored by AI (GPT-5)
@rmcnews rmcnews closed this by deleting the head repository Oct 16, 2026
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