Revolutions happen relatively peacefully only when a significant part of the armed forces changes sides or at least refuses to execute orders.
With the transition from conscripted militaries to autonomous robotic weapons, there will be no more humans refusing to execute orders and no more traitors.
A future revolution will succeed only against a grossly incompetent government.