Alternatively, have you considered the root cause of the spike?
I spent pretty much the whole day in the lab trying to nail this down and I'm not sure I really do know the root cause. Just a thing to note, I'm an FPGA guy so when we get into the analog world I'm not as familiar.
Before getting into it, just to clarify I seem to have two events happening. One is a transient that happens before mating is complete. This is just a spike that goes positive and negative and eventually settles back to zero. IE not the wall wart providing power. Then there is the Vin spike as the wall wart provides power and overshoots by a lot. The overshoot problem seems to be resolved by a TVS diode. Which at least for now is sufficient. It's the positive and negative going transient that I'm really having trouble with.
The root cause seems to be some sort of ground 'equalization' between the board and the wall wart. The board(without probing) is floating normally. IE no other wall connection or connection to anything else. The wall wart has two prongs so no earth connection. If I connect the ground of the wall wart to the ground of the board I will see this large transient that goes positive and negative. Maybe about -10V to +10V. Looks pretty high frequency. Peak to peak is about 2-10ns. This is scoped on the board at Vin+ and ground. IE the board's power input from the wall wart. During this test all I'm doing is actually just touching the outside of the barrel connectors together. Both are connected to ground.
The reason I think this is some sort of ground equalization(there may be another term for this I don't know) is because if I take a wire from the earth ground from the wall and connect it to the outside of the barrel connector of the wall wart then mate the connectors(or just touch the grounds together) I don't get the transient. So it would seem the board is being grounded to earth via the scope ground clip and for some reason the ground on the wall wart is sitting at a different voltage. So when these connect there is some current. This sounds very odd to me as I would have thought the wall wart being isolated would have prevented anything like this. But I don't know.
Confusingly isolating the scope from earth still gives the transient. But the board is sitting on a grounded ESD mat so I imagine even some parasitic stuff here can get the board back to earth reference. This seems to make sense because if I use a non-isolated scope and just the wall wart connector(no board, just wires from the connector) and I mate them I get the transient. But if I isolate the scope I don't get the transient. So the board on ESD mat, isolated scope still gets transient seems to track.
Ok so finally the problem I'm at is nothing I do seems to bring this transient down. Putting diodes and/or caps right on the barrel connector output has no effect. Series diodes have no effect. Probing before and after these additions doesn't seem to matter very much. So my thought would be is that this would be more like EMI. It could be a lot higher frequency than I think and the scope is aliasing. And so maybe just passes through these components and doesn't get clamped(remember FPGA guy, I don't know if that makes sense). But then the question is if these diodes don't even activate from it how is it hurting the regulator? I would think those diodes also wouldn't activate and so wouldn't get damaged. And I don't have an answer to this. I think I'm missing something.
I put some ferrites in series and that actually did seem to help. It didn't remove the transient entirely but maybe cut it down by half. And they were random ones from the lab. So maybe proper ferrites tuned for the situation would work better. But I'm still a little skeptical this this transient is really killing the regulator. So other things I've considered is the rate at which the wall wart ramps could be a problem but I found no spec in the data sheet for this. The ramp rate is pretty quick to me. Maybe 50ns(going from memory) to go from 0v to 25v. I'll have to look into ways to slow this down, if possible. Just to rule that out.
Anyways I'm rambling now. I don't now if any of that makes sense to someone with more experience in these matters. It is all very odd to me. I'd love to put this problem to bed so any ideas are welcome. Thanks!