feat: show deployment machines in CLI - #455
Merged
Merged
Conversation
Greptile SummaryAdds a deployment-machine inventory command backed by the Platform API and completes structured JSON error routing for deployment commands.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; the previously reported Machines and Create JSON error-routing issues are both addressed for top-level and development command paths.
|
| Filename | Overview |
|---|---|
| crates/alien-cli/src/commands/deployments.rs | Adds machine-inventory retrieval and rendering while correctly recognizing Create and Machines structured-output modes. |
| crates/alien-cli/src/lib.rs | Routes top-level and development deployment commands through the deployment-specific JSON-output detector. |
| client-sdks/platform/openapi.json | Refreshes the checked-in Platform API contract with the machine-inventory endpoint and schemas. |
| client-sdks/platform/rust/openapi.json | Synchronizes the Rust client generator input with the refreshed Platform API contract. |
Reviews (6): Last reviewed commit: "fix: preserve JSON errors for deployment..." | Re-trigger Greptile
alongubkin
force-pushed
the
alon/alien-551-machines-runtime-status
branch
from
August 20, 2026 23:33
973c572 to
19e3f17
Compare
alongubkin
force-pushed
the
alon/alien-551-machines-runtime-status
branch
from
August 21, 2026 00:04
19e3f17 to
30b0da3
Compare
alongubkin
changed the base branch from
main
to
alon/alien-559-regenerate-worker-runtime-typescript-client-for-locked-ts
August 21, 2026 00:04
Base automatically changed from
alon/alien-559-regenerate-worker-runtime-typescript-client-for-locked-ts
to
main
August 21, 2026 01:39
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
alien deployments machines <deployment>backed by the existing Platform Machines inventory API--jsonoutput and put degraded/unknown mesh state first in human outputValidation
cargo check -p alien-cli --features platformcargo test -p alien-cli machines_inventory_testsrustfmt --edition 2021 --check crates/alien-cli/src/commands/deployments.rsgit diff --checkGenerated API inputs originate from Platform
pnpm run generate:api-openapi; the Rust client is generated by the crate build script.