Skip to content

Show the organization name and ID in app info - #8466

Merged
amcaplan merged 1 commit into
mainfrom
nick/app-info-organization
Sep 3, 2026
Merged

Show the organization name and ID in app info#8466
amcaplan merged 1 commit into
mainfrom
nick/app-info-organization

Conversation

@nickwesselman

@nickwesselman nickwesselman commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

app info doesn't tell you which organization the app belongs to. The "Current app configuration" section shows the app name, client ID, dev store and scopes, but nothing about the owning org — so if you work across several organizations, the linked app's org is invisible without going to the dashboard.

Agents looking to create dev stores for an app need the organization ID. This makes it much easier for the agent to resolve it.

WHAT is this pull request doing?

image

How to test your changes?

In a linked app directory:

shopify app info
shopify app info --json | jq .organization

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
  • The change is user-facing — I've identified the correct bump type (patch for bug fixes · minor for new features · major for breaking changes) and added a changeset with pnpm changeset add

🤖 Generated with Claude Code

The organization was already resolved by linkedAppContext and passed to
info(), but only reached the --web-env path, where it was used solely for
metadata logging. Forward it to infoApp so both output formats can report it.

Text output gains an "Organization" row in the current app configuration
section, using the "name (id)" form that `store list` already uses.
JSON output gains an additive `organization` key alongside the existing
injected project fields.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Assisted-By: devx/4874be33-ff52-4bcc-beaa-5ff567199ec5
@nickwesselman
nickwesselman requested a review from a team as a code owner September 3, 2026 02:57
@github-actions github-actions Bot added the Area: @shopify/app @shopify/app package issues label Sep 3, 2026

@amcaplan amcaplan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks great, works as described. Thanks!

@amcaplan
amcaplan added this pull request to the merge queue Sep 3, 2026
Merged via the queue into main with commit 30dfbe9 Sep 3, 2026
47 of 56 checks passed
@amcaplan
amcaplan deleted the nick/app-info-organization branch September 3, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/app @shopify/app package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants