[cli] Remove --yes from vercel blob delete-store - #17521
Open
falcoagustin wants to merge 1 commit into
Open
Conversation
🦋 Changeset detectedLatest commit: bb81744 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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
🧪 Unit Test StrategyComparing: Strategy: Affected packages only ✅ Only testing packages that have been modified or depend on modified packages. Affected packages - 1 (2%)
Unaffected packages - 48 (98%)
Results
This comment is automatically generated based on the affected testing strategy |
Deleting a Blob store cannot be undone, so it now always requires interactive confirmation and can no longer be run non-interactively. Non-interactive contexts get the dangerous_operation_requires_user agent error, following the firewall attack-mode pattern. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
falcoagustin
force-pushed
the
falcoagustin/blob-delete-store-remove-yes
branch
from
August 19, 2026 20:03
54c5eb0 to
bb81744
Compare
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.
Problem
vercel blob delete-store --yesallowed permanently deleting a Blob store with no confirmation, from scripts, CI, or agents. Store deletion cannot be undone, so a single-flag bypass is too easy to trigger accidentally (or for an agent to run autonomously).Solution
Make
blob delete-storeinteractive-only, following the CLI's established pattern for severe destructive operations (firewall attack-mode enable/disable):--yesoption from the subcommand; it is now rejected as an unknown option.--non-interactive, agents, non-TTY), the command fails immediately with thedangerous_operation_requires_useragent-error payload instructing that a user must run the command interactively.This aligns with the CLI UX guideline that
--yesmust not bypass severe destructive confirmation by itself.Breaking behavior note: existing scripts using
blob delete-store <id> --yeswill start failing with an unknown-option error. This is the intended migration — store deletion must be performed interactively by a human.🤖 Generated with Claude Code