Repository navigation
fix: pin hosted cloud environment identity - #549
Merged
Merged
Conversation
Greptile SummaryThe PR pins an existing hosted push deployment to its recorded cloud identity before setup reconciliation or compute submission.
Confidence Score: 5/5The PR appears safe to merge because the previously reported revision-gate bypass is fixed and no blocking failure remains. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| crates/alien-deploy-cli/src/commands/up.rs | Adds pre-operation cloud identity validation independently of optional setup revision metadata, addressing the previously reported bypass. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Load current hosted push deployment] --> B{Persisted environment info exists?}
B -->|Yes| C[Resolve identity from active cloud credentials]
C --> D{Identity matches persisted environment?}
D -->|No| E[Fail before cloud operations]
D -->|Yes| F[Continue deployment workflow]
B -->|No| F
F --> G{Setup refresh required?}
G -->|Yes| H[Refresh hosted setup]
G -->|No| I{Hosted compute update required?}
I -->|Yes| J[Submit compute update]
I -->|No| K[Continue normal deployment]
Reviews (2): Last reviewed commit: "fix: pin hosted cloud environment identi..." | Re-trigger Greptile
alongubkin
force-pushed
the
alon/alien-629-pin-cloud-setup-identity
branch
from
August 31, 2026 10:08
938dd75 to
861025a
Compare
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
Validation
cargo test -p alien-deploy-cli --all-featurescargo fmt --check -p alien-deploy-cli