When I worked for a big laser company, any intra-cavity PCB was teflon. It was carefully cleaned and de-greased using a vapor degreaser. Those only we nt into low energy systems, and only when absolutely needed.
Even a plasma cleaned, vacuum baked, hermetic sealed cavity made only of t eflon, optical glass, and 306 stainless eventually de-gassed from material s degradation under intense light. All the "gunk" landed right in the cente r of the beam optic. The photophoretic effect is amazing. The quickest way to degrade a bar arra y is to cause back reflections, or allow dust and coatings to land on the o utput faucet.
I've seen diode pumped lasers go both ways, FR4 and Teflon boards for the d iode and TEC connections. For very low powers, up to a couple of watts, y ou might get away with FR4 for a long time. Under any other circumstances, the cavity should be sealed and free of circuit boards. Only a very caref ully selected collection of materials and wire should be used.
I've seen selected Teflons, cleaned, hard radiation linked PVC, and Kynar used intracavity for wiring. Nothing else is worth the risk as far as I'm concerned.
Glues are a no-no. There are a few select dust loaded epoxies we use intrac avity, and again, only if there is NO other way.
You might have IR from the pump diode, but if the overall laser is UV or Vi sible, over time, very slow reaction rates add up.
Steve