2.4 KiB
2.4 KiB
Deployment Rollback Manager with Automated Failure Recovery
Module
ReleaseOrchestrator
Status
IMPLEMENTED
Description
Automated deployment rollback system that plans rollback strategies for failed deployments, executes rollback to previous releases across multiple targets, tracks rollback progress, and generates rollback evidence. Supports RedeployPrevious, RestoreSnapshot, and Manual strategies.
Implementation Details
- Modules:
src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/ - Key Classes:
RollbackManager(src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/RollbackManager.cs) - orchestrates rollback execution across targetsRollbackPlanner(src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/RollbackPlanner.cs) - plans rollback strategy (RedeployPrevious, RestoreSnapshot, Manual)PartialRollbackPlanner(src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/PartialRollbackPlanner.cs) - plans partial rollbacks for subset of targetsRollbackEvidenceGenerator(src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/RollbackEvidenceGenerator.cs) - generates audit evidence for rollback actionsHealthAnalyzer(src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/HealthAnalyzer.cs) - analyzes deployment health to trigger rollbackImpactAnalyzer(src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Rollback/ImpactAnalyzer.cs) - analyzes rollback impact before execution
- Interfaces:
IRollbackManager,IPartialRollbackPlanner,IHealthAnalyzer,IImpactAnalyzer - Source: SPRINT_20260110_107_004_DEPLOY_rollback_manager.md
E2E Test Plan
- Trigger a rollback via
RollbackManagerand verify the previous release is restored - Verify
RollbackPlannerselects RedeployPrevious strategy when previous release is available - Verify partial rollback: roll back only a subset of targets using
PartialRollbackPlanner - Verify
HealthAnalyzerdetects unhealthy deployment and triggers automatic rollback - Verify
ImpactAnalyzerestimates rollback impact before execution - Verify
RollbackEvidenceGeneratorproduces audit evidence for the rollback action