Merged
Conversation
cc1c3f6 to
7a4751e
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7a4751e to
834d18b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Duplicate
requireInteractiveguard insidepromptLocations- Removed the redundant
requireInteractivecall frompromptLocationsso interactive-mode hints remain caller-specific and non-duplicative.
- Removed the redundant
Or push these changes by commenting:
@cursor push 1cc758f904
Preview (1cc758f904)
diff --git a/src/utils/locations.ts b/src/utils/locations.ts
--- a/src/utils/locations.ts
+++ b/src/utils/locations.ts
@@ -1,6 +1,5 @@
import type { BucketLocations } from '@tigrisdata/storage';
import enquirer from 'enquirer';
-import { requireInteractive } from './interactive.js';
const { prompt } = enquirer;
@@ -87,8 +86,6 @@
}
export async function promptLocations(): Promise<BucketLocations> {
- requireInteractive('Provide --locations flag');
-
let locationType: string;
try {
({ locationType } = await prompt<{ locationType: string }>({This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
ovaistariq
approved these changes
Mar 16, 2026
|
🎉 This PR is included in version 2.14.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
10 tasks
|
🎉 This PR is included in version 2.14.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.


Note
Medium Risk
Touches many CLI commands and their output/exit behavior, including destructive operations now requiring confirmation (or
--yes) and new JSON output paths, which could break scripts relying on prior stdout/stderr formatting. CI/test workflow changes are low risk but broaden coverage and may surface new failures.Overview
Adds first-class automation support to the CLI by introducing
--jsonoutput across many commands (storage ops, IAM/access keys,whoami, etc.), and wiring specs to exposeformat/jsonflags consistently.Hardens non-interactive execution by adding
requireInteractive()/confirm()helpers and requiring confirmation for destructive/interactive flows unless--yes/--forceis provided;cp/mv/rmalso gain JSON-mode summaries and suppress per-item/progress output.Updates CI by replacing the PR workflow with a unified
CIworkflow (build on PR/push, integration tests on push) and adjusts scripts/tests (testvstest:all, expanded unit/integration coverage) to validate new behaviors.Written by Cursor Bugbot for commit 834d18b. This will update automatically on new commits. Configure here.