fix(cli): Require product slug for multi-product integrations in non-TTY#15047
Merged
fix(cli): Require product slug for multi-product integrations in non-TTY#15047
Conversation
🦋 Changeset detectedLatest commit: 4acdc8d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
📦 CLI Tarball ReadyThe Vercel CLI tarball for this PR is now available! Quick TestYou can test this PR's CLI directly by running: npx https://vercel-gxjzprbtg.vercel.sh/tarballs/vercel.tgz --helpUse in vercel.jsonTo use this CLI version in your project builds, add to your {
"build": {
"env": {
"VERCEL_CLI_VERSION": "vercel@https://vercel-gxjzprbtg.vercel.sh/tarballs/vercel.tgz"
}
}
} |
Contributor
🧪 Unit Test StrategyComparing: Strategy: Affected packages only ✅ Only testing packages that have been modified or depend on modified packages. Affected packages - 1 (3%)
Unaffected packages - 39 (98%)
Results
This comment is automatically generated based on the affected testing strategy |
28a5e84 to
a752ad7
Compare
a752ad7 to
915525f
Compare
915525f to
cf226b1
Compare
t-mdo
approved these changes
Feb 13, 2026
Replace the interactive `client.input.select()` prompt in `selectProduct` with an error message showing available products and slash syntax when multiple products exist without a specified slug. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cf226b1 to
4acdc8d
Compare
Merged
mehulkar
pushed a commit
that referenced
this pull request
Feb 16, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## vercel@50.18.0 ### Minor Changes - Support easier auth from cursor / claude ([#15050](#15050)) ### Patch Changes - non-interactive mode for link ([#14884](#14884)) - Add experimental manual deployment support ([#14857](#14857)) - Fix `integration remove`, `integration balance`, and `integration open` commands failing to find integrations by explicitly passing `teamId` to the configurations API ([#15054](#15054)) - Require slash syntax for multi-product integrations in non-TTY mode, keep interactive product selector for TTY ([#15047](#15047)) - Move builders back into bundle ([#15059](#15059)) - Updated dependencies \[[`463395162462988e7d3276781d2fdff0685e225b`](4633951), [`6e58410ff849c281735c6acae59b3b0e86136f15`](6e58410)]: - @vercel/go@3.4.1 - @vercel/ruby@2.3.1 - @vercel/python@6.13.0 - @vercel/static-build@2.8.37 ## @vercel/python@6.13.0 ### Minor Changes - Add runtime dependency install to support larger Python functions ([#14976](#14976)) This adds logic to calculate the total size of a lambda at build time and offload dependencies to a \_runtime_requirements.txt file so they can be installed at runtime by uv. This allows us to deploy functions up to the total size of the /tmp folder. ## @vercel/client@17.2.42 ### Patch Changes - Add experimental manual deployment support ([#14857](#14857)) ## @vercel/fs-detectors@5.8.7 ### Patch Changes - [services] infer workspace from manifest: when workspace is not explicitly configured, infer from nearest manifest to entrypoint ([#14986](#14986)) ## @vercel/go@3.4.1 ### Patch Changes - Forward Go and Ruby dev server output through `startDevServer` stdout/stderr callbacks so service logs are correctly prefixed in multi-service `vercel dev`. ([#14989](#14989)) ## @vercel/ruby@2.3.1 ### Patch Changes - Forward Go and Ruby dev server output through `startDevServer` stdout/stderr callbacks so service logs are correctly prefixed in multi-service `vercel dev`. ([#14989](#14989)) ## @vercel/python-runtime@0.4.1 ### Patch Changes - fix PyPI publication integration in release flow ([#15033](#15033)) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Fixes: MKT-2775
Summary
add-auto-provision.ts), require a product slug for multi-product integrations in non-TTY mode (CI, agents) — error with actionable guidance listing available products in slash syntaxaddpath is unchangedNon-TTY (agents/CI): actionable error
TTY (humans): interactive selector preserved
Test plan
Unit tests
Manual testing
FF_AUTO_PROVISION_INSTALL=1 vc integration add upstashSelect a productprompt shown with 4 productsecho "" | FF_AUTO_PROVISION_INSTALL=1 vc integration add upstashFF_AUTO_PROVISION_INSTALL=1 vc integration add upstash/upstash-kvInstalling Upstash for Redis by Upstash...Code paths covered
🤖 Generated with Claude Code
Note
Low Risk Change
This PR adds a defensive check that rejects multi-product integrations in non-TTY mode when no product slug is specified, requiring explicit user input rather than allowing ambiguous behavior.
Risk assessment for commit 4acdc8d.