fix(cli): complete hosted setup refresh handoff - #534
Merged
Conversation
Greptile SummaryThe PR completes hosted setup-refresh handoff behavior by using the current release when no desired release exists and recording the setup package revision once its setup-owned resources have been applied.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness or security issues identified. The current-release fallback feeds the existing InitialSetup refresh path, and revision persistence occurs only after setup-owned resources have completed or synchronized; no-work and failure outcomes remain excluded.
|
| Filename | Overview |
|---|---|
| crates/alien-deploy-cli/src/commands/up.rs | Adds current-release fallback and accurately persists the setup revision only after successful synchronization or completion of the direct-setup handoff. |
Sequence Diagram
sequenceDiagram
participant CLI
participant Manager
participant Setup as Direct setup
CLI->>Manager: Load deployment and setup revision
CLI->>CLI: Select desired release or current release
CLI->>Setup: Apply setup-owned Frozen resources
Setup-->>CLI: Resources Running
CLI->>Manager: Handoff at Provisioning
CLI->>Manager: Persist direct setup revision
Manager->>Manager: Continue Live-resource provisioning
Reviews (1): Last reviewed commit: "fix(cli): persist completed setup refres..." | Re-trigger Greptile
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
Testing