feat(cloud): refactor deploy server API to manifests/deployments#142
feat(cloud): refactor deploy server API to manifests/deployments#142Dav-14 wants to merge 3 commits into
Conversation
Adopt the new OpenAPI spec from terraform-hcp-proxy feat/app-stack-assignment branch which replaces runs/versions with first-class manifests and deployments. - Replace `runs` subcommand with `deployments` (list, show, logs, create) - Replace `versions` subcommand with `manifests` (list, show, create, delete, update, versions) - Update `apps create` to use name + optional stack-id instead of organization-id - Update `apps show` to use ReadApp with include=state - Move deploy command under deployments as `create` - Regenerate Speakeasy SDK client from updated OpenAPI spec Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Important Review skippedToo many files! This PR contains 207 files, which is 57 over the limit of 150. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (6)
📒 Files selected for processing (207)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…state, soft-delete via develop SDK - Add `fctl cloud app deployments download --id <dpl-...> [--format yaml|gzip] [--out file]` (yaml streams to stdout by default; gzip requires --out) - Add `fctl cloud app manifests download --id <mnf-...> --out file` for the tar.gz archive - Render `state.stack.*` in `deployments show` when --include-state is passed - Refresh deploy-server OpenAPI spec from terraform-hcp-proxy develop and regenerate SDK - Wire new soft-delete flow on `apps delete`: surface destroyDeploymentId, add --wait Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…n deployment wait - Drop app-id scoping on manifests; add bind-manifest/unbind-manifest commands on apps - Show app's current manifest with divergence (undeployed/synced/behind/rebound) on `apps show` - Require manifest-version on `deployments create` and add --wait-timeout with exponential backoff polling - Regenerate deploy server SDK from updated OpenAPI (attach/detach manifest, App.currentManifest) - Add unit tests for new bind/unbind/show/create/delete/push paths Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
terraform-hcp-proxyfeat/app-stack-assignmentbranchrunsandversionssubcommands with first-classdeploymentsandmanifestsresourcesname+ optionalstackIdinstead oforganizationIddeployments createBreaking changes
apps runscommand removed (replaced byapps deployments)apps versionscommand removed (replaced byapps manifests)apps deploycommand removed (replaced byapps deployments create)apps createnow requires--nameflagapps showno longer shows run statusNew command tree
Test plan
apps listworks with new APIapps create --name testcreates an appapps deployments create --app-id <id> --path manifest.yamltriggers a deploymentapps manifests create --name test --path manifest.yamlcreates a manifestapps manifests versions push --manifest-id <id> --path manifest.yamlpushes a versiondeployments createworks end-to-end🤖 Generated with Claude Code