I did a quick check of your build
thread and you used Dow Blue which is an XPS foam.
XPS has some significant issues when used for surfboard construction. The problem with extruded polystyrene is delamination. When XPS is manufactured a significant amount of blowing agent is trapped in the cells during production. Blowing agent expands under heat. That's what makes the production process work. The cells are created with blowing agent inside, then heated so that the foam expands into a shape/mold.
Compare that with EPS where 95% of the blowing agent is lost during the pre-expansion process. Then 95% of what's left of that 5% is lost in the molding or press cycle.
With urethane the chemicals are being changed during the polymerization process and you end up with only CO2 left in the cells. But with XPS the cells are left filled with blowing agent gases. When these cells are damaged, and the gas released is then heated, a delamination or bubble forms under the glass.
Further most XPS foams are copolymerized with polyethylene which NOTHING sticks to. This makes the delamination problem even worse.
I hate to discourage your repair, but even changing the color from dark to light or installing a vent (XPS is a closed cell foam) won't completely prevent future delaminations.