Had this happen exactly as described two hours ago. 2019 Sierra Denali. Also got an OnStar notification email noting the failure and telling me to take it in for service within 7 days. As others have said, brakes came back but engine light stayed on. It is now at dealership for service.