Skip to content

feat: implement buckets set locations - #36

Merged
designcode merged 2 commits into
mainfrom
feat/bucket-set-location
Mar 12, 2026
Merged

designcode merged 2 commits into
mainfrom
feat/bucket-set-location

Conversation

@designcode

@designcode designcode commented Mar 12, 2026 •

Copy link
Copy Markdown
Collaborator

Note

Medium Risk
Adds a new CLI path that updates bucket locations via updateBucket, which can affect data placement if misused. Also refactors interactive bucket creation to use a new shared promptLocations flow, so regressions would show up in CLI prompting/validation rather than backend behavior.

Overview
Adds a new tigris buckets set-locations command to update an existing bucket’s locations (via updateBucket), supporting both --locations input and an interactive picker.

Refactors buckets create interactive mode to reuse a new promptLocations() helper in utils/locations.ts, including improved dual-region validation and “escape to go back/cancel” handling, and tweaks region choice labels.

Updates tsconfig.json excludes to stop excluding src/specs-embedded.ts.

Written by Cursor Bugbot for commit fd0a936. This will update automatically on new commits. Configure here.

Comment thread src/utils/locations.ts Resolved
@designcode
designcode force-pushed the feat/bucket-set-location branch from 53d7103 to 2de54a3 Compare March 12, 2026 12:17
Comment thread src/utils/locations.ts Resolved
@designcode
designcode force-pushed the feat/bucket-set-location branch from 2de54a3 to 1de8b53 Compare March 12, 2026 12:27

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread src/utils/locations.ts Resolved
@designcode
designcode force-pushed the feat/bucket-set-location branch from 1de8b53 to fd0a936 Compare March 12, 2026 12:37
@designcode designcode changed the title feat: implement bucket set locations feat: implement buckets set locations Mar 12, 2026
@designcode
designcode merged commit d97089f into main Mar 12, 2026
2 checks passed
@designcode
designcode deleted the feat/bucket-set-location branch March 12, 2026 12:48
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.14.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants