The problem you saw with the closed cell foam pulling away like that is due to the heat of the foam was to hot. It was actually curing out and making foam before it could adhere to the wood. The installer wasn't reading his foam correctly. He should of stopped and turned down the heat on his hose temp. Also installers have to be aware that as the sun rises and the temp in attics rises the subtrates get hotter as well. This will cause the installer to adjust his heat when installing the foam as the temp changes thru out the day.   Spray Coating Services
Appropriate training for personnel who are responsible for conducting the painting procedures is important, which may be from a professional training provider or the product supplier. There are also hazards related to the disposal of wastes and materials that are contaminated with potentially harmful chemicals. Decontamination procedures and Material Safety Data Sheets for various products are important. Safety is improved through: Spray Coating