# Workflow Details ## Upgrade Workflow Phases The azure-upgrade skill follows a structured workflow to ensure safe, repeatable upgrades. ## Phase Overview ``` ┌──────────┐ ┌──────────┐ ┌─────────────┐ ┌─────────┐ ┌──────────┐ │ Identify │───▶│ Assess │───▶│ Pre-migrate │───▶│ Upgrade │───▶│ Validate │ └──────────┘ └──────────┘ └─────────────┘ └─────────┘ └──────────┘ ``` ## Progress Tracking Create and maintain `upgrade-status.md` in the workspace root: ```markdown # Upgrade Status ## Upgrade Details | Property | Value | |----------|-------| | **Source App** | | | **Source Plan** | | | **Target Plan** | | | **Resource Group** | | | **Region** | | | **Started** | | ## Phase Status - [ ] Phase 1: Identify — Determine source/target plans - [ ] Phase 2: Assess — Check readiness and compatibility - [ ] Phase 3: Pre-migrate — Collect settings and configurations - [ ] Phase 4: Upgrade — Execute upgrade automation - [ ] Phase 5: Validate — Verify new app functionality ## Notes ``` ## Error Handling If any phase fails: 1. Log the error in `upgrade-status.md` 2. Do NOT proceed to the next phase 3. Inform the user of the failure and suggest remediation 4. Offer to retry the failed phase or rollback ## Hand-off After successful validation: - Offer to hand off to `azure-validate` for deeper testing - Offer to hand off to `azure-deploy` for CI/CD pipeline setup - Ask if the user wants to clean up the original app