Repository navigation
ci: add a preserve-mode rollback operation - #199
Closed
HTExplicit wants to merge 1 commit into
Closed
HTExplicit wants to merge 1 commit into
HTExplicit wants to merge 1 commit into
Conversation
Production Deploy gains rollback-preserve: roll back to an older immutable release while keeping the running Cindy/runtime flags and resource profile, instead of restating every flag. The host command becomes "rollback IMAGE from=CURRENT runtime=preserve"; the host updater accepts it only when the data contract of both releases is unchanged and never restores a database snapshot in this mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Superseded by merged PR #202, which includes preserve-mode rollback without changing runtime configuration. Existing data compatibility constraints and the native-to-legacy host boundary still apply. |
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
Add a
rollback-preserveoperation to Production Deploy. It rolls production back to an older immutable release while keeping the running runtime flags and resource profile. Until now a rollback required restating every Cindy flag explicitly, which is error-prone in an emergency.rollback-preservemaps toOPERATION=rollbackwith runtimepreserve. The run name readsRollback to <tag> (preserve). It still requiresconfirmation=ROLLBACK,expected_current_release_tag, a strictly older target andresource=preserve, and it cannot interrupt business traffic.rollback <IMAGE> from=<CURRENT> runtime=preserve. The existing host updater already handlesruntime=preserve rollback-from=…:/usr/local/sbin/sub2api-deploy-command, maintained outside this repository) gains the matching command form. It is installed through the guarded deploy-maintenance entry. Until it is installed, this operation is rejected on the host with no change.Validation
rollback <OLD> from=<NEW> runtime=preserve;resource=autoare rejected.rollback-preserve.<OLD> runtime=preserve rollback-from=<NEW>;🤖 Generated with Claude Code