Improve failover controls and preserve manual switching state
Build and Deploy Gateway / build-and-push (push) Failing after 1s
Build and Deploy Gateway / deploy (push) Has been skipped

This commit is contained in:
2026-08-28 19:40:53 +03:00
parent 8f2f418569
commit a84cca0668
30 changed files with 547 additions and 112 deletions
@@ -305,7 +305,7 @@ export function createFailoverService(dependencies: FailoverServiceDependencies)
appliedServerId: target.serverId,
appliedServerSnapshot: server,
failoverPolicy: reason === 'manual'
? { ...state.failoverPolicy, paused: true }
? state.failoverPolicy
: role === 'primary' ? { ...state.failoverPolicy, paused: false } : state.failoverPolicy,
failoverRuntimeState: {
...state.failoverRuntimeState,