Skip to content

feat: add --version flag to cluster update command#69

Merged
Davidonium merged 4 commits intomainfrom
feat/cluster-update-version
Mar 25, 2026
Merged

feat: add --version flag to cluster update command#69
Davidonium merged 4 commits intomainfrom
feat/cluster-update-version

Conversation

@qdrant-cloud-bot
Copy link
Copy Markdown
Contributor

Summary

  • Adds a --version flag to qcloud cluster update so users can upgrade the Qdrant version of a running cluster (e.g. qcloud cluster update <id> --version v1.17.0)
  • Includes a confirmation prompt warning about the rolling restart (skippable with --force)
  • Registers shell completion for available versions (reuses existing versionCompletion helper)

Test plan

  • go build ./... compiles cleanly
  • go test ./internal/cmd/cluster/... passes
  • Verified end-to-end: upgraded demo-h-and-m from v1.16.2 to v1.17.0 successfully (cluster entered UPGRADING state)
  • Verify --version tab-completion lists available releases

Made with Cursor

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
@generall generall requested a review from Davidonium March 25, 2026 17:28
Qdrant Claw 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
@Davidonium Davidonium merged commit 8aa196c into main Mar 25, 2026
7 checks passed
@Davidonium Davidonium deleted the feat/cluster-update-version branch March 25, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants