Being as this occurred in SF, whoever the shooter is shouldn’t worry about getting the death penalty.
The SF DA, Kamela Harris, doesn’t support it and won’t prosecute a case asking for it, even when cops get mowed down by gang members with AK-47s.
Then, harshly, the people who elected SF DA Kamela Harris, are getting exactly what they voted for so they should be perfectly happy.