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>
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]