fix: reconcile hosted compute capacity updates - #529
Merged
Conversation
Greptile SummaryThe PR routes hosted compute-capacity changes through the deployment update lifecycle while preserving setup-owned frozen resources across consecutive releases.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains in the eligible follow-up scope. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| crates/alien-deploy-cli/src/commands/up.rs | Expands hosted compute-update routing to active and retryable lifecycle states and adds predicate coverage. |
| crates/alien-deployment/src/updating.rs | Preserves omitted frozen resources in update targets, persists the effective baseline, and includes frozen resources in managed execution. |
| crates/alien-deployment/tests/test_platform.rs | Verifies omitted setup-owned frozen resources survive consecutive release updates. |
| crates/alien-preflights/src/compatibility/frozen_resources_unchanged.rs | Permits only ComputeCluster capacity and scale-policy changes while continuing to reject structural frozen-resource modifications. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Hosted compute settings change] --> B[Deployment update lifecycle]
B --> C[Compatibility preflights]
C --> D{Change type}
D -->|Capacity or scale policy| E[Managed frozen reconciliation]
D -->|Machine profile, placement, networking, or identity| F[Reject and require setup]
E --> G[Merge omitted frozen resources]
G --> H[Execute live and eligible frozen resources]
H --> I[Promote effective prepared-stack baseline]
Reviews (4): Last reviewed commit: "fix: retain frozen resources across upda..." | 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
Verification