Repository navigation
feat(cli): add --app-target and --hosted-test-target to sentry wizard - #2574
Merged
Merged
Conversation
Without a terminal, Apple Snapshots picks the only app and hosted XCTest target or stops with the list, so a project with several targets had no way through. Port @sentry/wizard's --app-target and --hosted-test-target, which name the targets instead of picking them, and point the non-interactive errors at them. Both apply to appleSnapshots only. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
BYK
approved these changes
Nov 27, 2026
BYK
left a comment
Member
There was a problem hiding this comment.
The deprecated @sentry/wizard shim in packages/wizard still drops --app-target and --hosted-test-target with a notice. Forwarding them would be a small follow-up if we want old command lines to keep working.
Yes please
…zard The deprecated @sentry/wizard forwarder dropped both flags with a notice. sentry wizard takes them now, so pass them on with their values. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
BYK
enabled auto-merge
November 27, 2026 23:00
github-actions Bot
pushed a commit
to Fields-Education/sentry-mcp
that referenced
this pull request
Nov 28, 2026
…tsentry#2578) getsentry#2574 added `--app-target` and `--hosted-test-target` to `sentry wizard --help`, but the inline help snapshot that getsentry#2547 added in `packages/cli/test/wizard-e2e/help-message.test.ts` still lists only `--force`. This updates only that snapshot: the two new flag lines and the wider flag table. <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A875cd8525be461c20f1b8e42904f69e6 --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A875cd8525be461c20f1b8e42904f69e6) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A875cd8525be461c20f1b8e42904f69e6/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows up #2544, which left out the upstream Apple flags.
When stdin isn't a terminal, Apple Snapshots picks the only app target and hosted XCTest target, or stops with the list. A project with several targets had no way to get through a non-interactive run. This brings back the upstream
@sentry/wizardrecovery path:--app-targetand--hosted-test-targetname the targets instead of picking them, and the non-interactive errors now point at those flags.appleSnapshotsonly, and their help text says so. A name that doesn't exist fails with the available targets, the same as upstream.--non-interactiveis not added:sentry wizardalready detects a missing terminal (isatty(0)).--xcode-project-diris not added: the wizard uses the current directory, socdthere first.sentry wizarddocs now lists all four upstream flags.The deprecated
@sentry/wizardshim inpackages/wizardnow passes--app-targetand--hosted-test-targeton tosentry wizardwith their values, instead of dropping them with a notice.via @BYK.
--
View Session [Sentry]