# Admin V2 - Rollback Checklist

## Trigger Conditions

Rollback to V1-only mode if one of the following is met:
- sustained V2 5xx error rate above threshold
- blocking issue in order/payment/invoice V2 flow
- severe latency degradation on operational pages

## Immediate Actions

1. Set `FEATURE_ADMIN_V2=false`.
2. Clear cohort flags:
- `FEATURE_ADMIN_V2_ROLLOUT_USER_PUBLIC_IDS=`
- `FEATURE_ADMIN_V2_ROLLOUT_USER_EMAILS=`
3. Reload config/cache:
- `php artisan config:clear`
- `php artisan cache:clear`

## Verification

- `/admin/v2*` returns 404 for non-allowlisted users.
- V1 `/admin/*` resources/pages remain accessible.
- Core operations remain green in V1:
  - order creation/update
  - payment completion
  - invoice generation/send

## Communication

- Notify managers that V2 is temporarily unavailable.
- Publish incident note with issue summary and ETA.

## Post-Rollback

- collect logs/traces for failing route(s)
- reproduce with targeted feature tests
- ship patch behind same rollout controls
- re-enable by cohort before global switch
