Galls on Phlomis fruticosa.
Host plant observation:
https://www.inaturalist.org/observations/205039607
Maybe? https://gallformers.org/gall/1441
Not the right season.
This initial ID could be completely off. This wasp was observed on a highbush blueberry leaf bud with blueberry stem galls from last season on nearby branches.
S. terebinthinaceum
Reared from https://www.inaturalist.org/observations/207520636