> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 6.6 Upgrade and Rollback

The guide describes a manual development deployment followed by GitHub Actions automation. It does not define a verified rollback procedure.

## Planned upgrade path

1. Confirm the target environment, regions, SKUs, and secrets.
2. Build and validate the API image and frontend.
3. Apply the reviewed Bicep deployment.
4. Deploy the API, Functions app, and frontend through the protected development workflow.
5. Verify API readiness, active Container Apps revisions, and the Functions list.
6. Run the end-to-end claim flow and security checks.
7. Record the exact commit, configuration, and verification results before promoting further.

## Rollback

\[OWNER INPUT REQUIRED: validated rollback procedure for API, Functions, frontend, infrastructure, and in-flight workflow state.]

## In-flight work and data

\[OWNER INPUT REQUIRED: compatibility rules for claims and workflows that span a deployment.]

Do not assume infrastructure rollback deletes or restores claims, uploaded evidence, workflow state, or Stripe refunds. Define data and payment recovery separately before production.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.