fix: pass setup item through generated deploy CLI - #521
Merged
alongubkin merged 1 commit intoAug 29, 2026
Merged
Conversation
Greptile SummaryThe PR carries a generated deployment CLI’s setup-item selection through platform metadata lookup and manager initialization.
Confidence Score: 5/5The PR appears safe to merge, with the setup-item selection consistently carried across the changed CLI and manager contract boundaries. No concrete changed-code failure remains after checking argument forwarding, request serialization, manager initialization, and the deployment-store interface.
|
| Filename | Overview |
|---|---|
| crates/alien-deploy-cli/src/commands/up.rs | Adds the setup-item flag and consistently forwards its selection to deployment metadata lookup and manager initialization. |
| crates/alien-manager/src/routes/sync.rs | Extends the initialize request and passes the optional selection through the deployment-store creation boundary. |
| crates/alien-manager/src/traits/deployment_store.rs | Exposes the optional setup-item selection to replaceable deployment-store implementations. |
| crates/alien-manager/src/routes/deployments.rs | Updates direct deployment creation to explicitly omit setup-item selection where that API does not provide one. |
| crates/alien-manager/openapi.json | Regenerates the manager API schema with the optional setupItem initialization property. |
| client-sdks/manager/openapi.json | Keeps the distributable manager client contract aligned with the service schema. |
| client-sdks/manager/rust/openapi-3.0.json | Keeps the Rust manager SDK generation input aligned with the initialization contract. |
Sequence Diagram
sequenceDiagram
participant G as Generated deploy CLI
participant P as Platform API
participant M as Manager API
participant S as Deployment store
G->>P: "GET /v1/deployment-info?platform=...&setupItem=..."
P-->>G: Setup metadata and inputs
G->>M: POST /v1/initialize with setupItem
M->>S: create_deployment(setup_item)
S-->>M: Deployment record
M-->>G: Deployment ID, model, and token
Reviews (1): Last reviewed commit: "fix: pass setup item through generated d..." | Re-trigger Greptile
alongubkin
deleted the
alon/alien-601-generated-deployment-cli-cannot-select-a-setup-item
branch
August 29, 2026 03:18
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
--setup-itemto generated deployment CLIsTest plan
cargo nextest run -p alien-manager -p alien-deploy-cli(469 passed; 1 skipped)Linear: ALIEN-601