There is not yet much research on the effects of heatwaves on bees. What little there is focuses on super extremes of weather that would kill an adult bee.
However, my new research with colleagues shows that UK populations of solitary bees may be much more sensitive than previously thought to the kinds of extreme weather we are now seeing regularly.