feat: add --version flag to cluster update command#69
Merged
Davidonium merged 4 commits intomainfrom Mar 25, 2026
Merged
Conversation
Allow upgrading the Qdrant version of a cluster via `cluster update --version`. Includes a confirmation prompt warning about the rolling restart, shell completion for available versions, and updated help text. Made-with: Cursor
added 3 commits
March 25, 2026 17:33
…hanges Consolidate the version upgrade and database config prompts into one unified prompt. When both --version and db config flags are passed together, the user now sees a single confirmation listing all changes instead of two separate prompts. Made-with: Cursor
Cover version-only, db-config-only, and combined version+db-config scenarios to verify a single unified prompt is shown with correct diffs. Also tests --force applying both changes and fallback to config version when state version is empty. Made-with: Cursor
Made-with: Cursor
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.
Summary
--versionflag toqcloud cluster updateso users can upgrade the Qdrant version of a running cluster (e.g.qcloud cluster update <id> --version v1.17.0)--force)versionCompletionhelper)Test plan
go build ./...compiles cleanlygo test ./internal/cmd/cluster/...passesdemo-h-and-mfrom v1.16.2 to v1.17.0 successfully (cluster enteredUPGRADINGstate)--versiontab-completion lists available releasesMade with Cursor