TestSetActiveRevertsOnSaveFailure guards in-memory/on-disk drift on Save failure. If SetActive mutates Active before a failed Save, ActiveProfile() reads the wrong endpoint while config.yaml still names the old profile, and restart silently undoes the switch. SetActive must roll back on Save failure
(t *testing.T)
source not stored for this graph (policy: none)