Repository navigation
feat(distribution): make upgrades previewable and rollback-safe - #99
Merged
teckedd-code2save merged 14 commits intoSep 19, 2026
Merged
Conversation
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.
Goal
Close the upgrade/recovery gap in #93 so an authorized agent can upgrade a GroundControl instance without turning migrations into a one-way door.
Canonical installer additions
scripts/installnow supports:--preview--upgrade--uninstallUpgrade preview
--preview --version <tag>checks:/app/prismastorage identityIt does not change the running GroundControl instance.
Guarded upgrade transaction
For an existing instance:
Machine outcomes:
upgrade_completeupgrade_rolled_backrollback_failedA successful automatic rollback exits non-zero because the requested upgrade still failed.
Uninstall
--uninstallremoves the runtime and local bridge containers but preserves:No destructive purge is implicit.
Integrity
Adds
scripts/install.sha256.Both CI workflows now run:
bash -n scripts/installsha256sum -c scripts/install.sha256Docs include the safer download → checksum → run flow.
Regression coverage
A Vitest contract locks:
This builds on #97's already-live install → claim → publish/bridge → post-install verification flow.