Vancouver BC hit over 42C this year, and hundreds of people died because the region is not prepared for heat. Victoria, which is facing directly out to the ocean, hit 39C. Houses and apartments don't have A/C, and businesses' A/C is not robust enough to deal with that much load. I would bet on it happening in SF too.
https://bc.ctvnews.ca/temperature-record-from-1895-among-59-...