fix(cube-cli): create endpoint 404 without --bootstrap, about text#11312
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdcyqFwUF9BbWLeX4uERnk
Contributor
|
Claude finished @paveltiunov's task in 20s —— View job Code ReviewTrivial, safe two-line text change — LGTM. Review details — 0 issues
Scope: Updates the
Assessment:
No issues found. |
The row-only POST /api/v1/deployments was removed server-side (creation moved to POST /build/api/v1/deployments), so `cube deployments create` without --bootstrap 404'd. Create now always targets the build-served endpoint; --bootstrap remains as a hidden no-op for compatibility. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdcyqFwUF9BbWLeX4uERnk
Contributor
|
Claude finished @paveltiunov's task in 37s —— View job Code ReviewReviewed the two commits on this branch. LGTM — both changes are clean and safe. Review details — 0 issuesScope of this PR (two commits):
Assessment:
No issues found. |
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.
Check List
Description of Changes Made
Two Cube CLI fixes:
deployments create404'd without--bootstrap. The row-onlyPOST /api/v1/deploymentswas removed server-side (creation moved to the build-servedPOST /build/api/v1/deployments), socube deployments createwithout--bootstraphit a 404. Create now always targets the build-served endpoint — which scaffolds and runs the first build (or skips the scaffold forcreationMethod=github) — and--bootstrapremains as a hidden no-op for compatibility. Verified against staging: create without the flag now returns areadydeployment.About text. The first line of
cube --helpand the crate description now read "Cube Command Line Interface" instead of "Cube Cloud command line interface".🤖 Generated with Claude Code
Generated by Claude Code