mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-02-28 05:02:59 +00:00
1.4 KiB
1.4 KiB
12. Change Management and Rollout
Goal
Provide low-risk patterns for introducing protocol/config/UI/backend changes in a running panel.
Safe rollout pattern
- Backup DB.
- Add new config in parallel (do not replace old path immediately).
- Validate with one test client.
- Migrate a small user slice.
- Monitor logs/latency/failure rate.
- Complete migration and decommission old path.
For inbound/protocol changes
Do first:
- Naming cleanup and explicit role labels.
- New test inbound with clear
-testsuffix.
Do later:
- Security/transport rotations on production inbound.
For client policy changes
- Apply policy in additive way.
- Prefer staged updates by user segment.
- Confirm no accidental disable due to quota/expiry mismatch.
For custom feature changes
- Keep additive APIs; avoid breaking old endpoints.
- Feature-flag or route-gate where possible.
- Maintain backward compatibility with inbound-native operations.
Regression checklist
After any significant change verify:
- Login and panel navigation.
- Inbounds list and edit flow.
- Add/update/delete client flow.
- Export URL/subscription flow.
- Xray restart and log health.
- Custom clients page CRUD + sync.
Rollback checklist
- Stop rollout.
- Revert to known-good binary/config.
- Restore DB backup if data mutation is root cause.
- Re-validate panel and xray state.
- Reintroduce change in smaller scope.